Light Style© by Fisana

Jump to content


Photo

ERROR: DllLoader: dlopen(libCollada.so)


  • Please log in to reply
9 replies to this topic

#1 zainSam

zainSam

    Tiro

  • Community Newbie
  • 1 posts

Posted 05 April 2013 - 10:06 AM

Hi, im a total nub. i tries installing 0ad myself because im not able to apt-get. i have all the files and followed all the build instructions. when i ran the test i got this error

Running 284 tests...................ERROR: DllLoader: dlopen(libCollada.so) failed: /usr/lib/i386-linux-gnu/libxml2.so.2: version `LIBXML2_2.9.0' not found (required by /home/zain/Downloads/0ad-0.0.13-alpha/binaries/system/libCollada.so); dlopen(libCollada_dbg.so) failed: libCollada_dbg.so: cannot open shared object file: No such file or directory;
ERROR: Failed to load COLLADA conversion DLL
ERROR: Could not load mesh 'art/skeletons/test.dae'

In TestMeshManager::test_load_dae:
../../../source/graphics/tests/../../../source/graphics/tests/test_MeshManager.h:163: Error: Assertion failed: modeldef
ERROR: DllLoader: dlopen(libCollada.so) failed: /usr/lib/i386-linux-gnu/libxml2.so.2: version `LIBXML2_2.9.0' not found (required by /home/zain/Downloads/0ad-0.0.13-alpha/binaries/system/libCollada.so); dlopen(libCollada_dbg.so) failed: libCollada_dbg.so: cannot open shared object file: No such file or directory;
ERROR: Failed to load COLLADA conversion DLL
ERROR: Failed to load COLLADA conversion DLL
In TestMeshManager::test_load_dae_caching:
../../../source/graphics/tests/../../../source/graphics/tests/test_MeshManager.h:174: Error: Assertion failed: !daeName1.empty()
In TestMeshManager::test_invalid_skeletons:
../../../source/graphics/tests/../../../source/graphics/tests/test_MeshManager.h:193: Error: Test failed: L"<!DOCTYPE html>\n<meta charset=\"utf-8\">\n<title>Pyrogenesis Log</title>\n<style>body { background: #eee; color: black; font-family: sans-serif; } p { background: white; margin: 3px 0 3px 0; } .error { color: red; } .warning { color: blue; }</style>\n<h2>0 A.D. Main log</h2>\n<p class=\"error\">ERROR: DllLoader: dlopen(libCollada.so) failed: /usr/lib/i386-linux-gnu/libxml2.so.2: version `LIBXML2_2.9.0\' not found (required by /home/zain/Downloads/0ad-0.0.13-alpha/binaries/system/libCollada.so); dlopen(libCollada_dbg.so) failed: libCollada_dbg.so: cannot open shared object file: No such file or directory; </p>\n<p class=\"error\">ERROR: Failed to load COLLADA conversion DLL</p>\n<p class=\"error\">ERROR: Could not load mesh \'art/skeletons/test.dae\'</p>\n"
../../../source/graphics/tests/../../../source/graphics/tests/test_MeshManager.h:193: Error: Assertion failed: ts_str_contains(logger.GetOutput(), L"parser error")
In TestMeshManager::test_invalid_dae:
../../../source/graphics/tests/../../../source/graphics/tests/test_MeshManager.h:208: Error: Test failed: L"<!DOCTYPE html>\n<meta charset=\"utf-8\">\n<title>Pyrogenesis Log</title>\n<style>body { background: #eee; color: black; font-family: sans-serif; } p { background: white; margin: 3px 0 3px 0; } .error { color: red; } .warning { color: blue; }</style>\n<h2>0 A.D. Main log</h2>\n<p class=\"error\">ERROR: DllLoader: dlopen(libCollada.so) failed: /usr/lib/i386-linux-gnu/libxml2.so.2: version `LIBXML2_2.9.0\' not found (required by /home/zain/Downloads/0ad-0.0.13-alpha/binaries/system/libCollada.so); dlopen(libCollada_dbg.so) failed: libCollada_dbg.so: cannot open shared object file: No such file or directory; </p>\n<p class=\"error\">ERROR: Failed to load COLLADA conversion DLL</p>\n<p class=\"error\">ERROR: Could not load mesh \'art/skeletons/test.dae\'</p>\n"
../../../source/graphics/tests/../../../source/graphics/tests/test_MeshManager.h:208: Error: Assertion failed: ts_str_contains(logger.GetOutput(), L"parser error")
..ERROR: DllLoader: dlopen(libCollada.so) failed: /usr/lib/i386-linux-gnu/libxml2.so.2: version `LIBXML2_2.9.0' not found (required by /home/zain/Downloads/0ad-0.0.13-alpha/binaries/system/libCollada.so); dlopen(libCollada_dbg.so) failed: libCollada_dbg.so: cannot open shared object file: No such file or directory;
ERROR: Failed to load COLLADA conversion DLL
ERROR: Could not load mesh 'art/skeletons/test.dae'

In TestMeshManager::test_load_across_relaxng:
../../../source/graphics/tests/../../../source/graphics/tests/test_MeshManager.h:241: Error: Assertion failed: modeldef
ERROR: DllLoader: dlopen(libCollada.so) failed: /usr/lib/i386-linux-gnu/libxml2.so.2: version `LIBXML2_2.9.0' not found (required by /home/zain/Downloads/0ad-0.0.13-alpha/binaries/system/libCollada.so); dlopen(libCollada_dbg.so) failed: libCollada_dbg.so: cannot open shared object file: No such file or directory;
ERROR: Failed to load COLLADA conversion DLL
ERROR: Could not load mesh 'art/skeletons/test.dae'
In TestMeshManager::test_load_dae_bogus_material_target:
../../../source/graphics/tests/../../../source/graphics/tests/test_MeshManager.h:258: Error: Assertion failed: modeldef
.............................................................................................................................WARNING: Skipping component scripts tests (can't find binaries/data/mods/public/simulation/components/tests/setup.js)
....................................................................................................................................
Failed 6 of 284 tests
  • 0

#2 historic_bruno

historic_bruno

    Primus Pilus

  • WFG Programming Team
  • 2,656 posts

Posted 05 April 2013 - 08:58 PM

Does binaries/system/libCollada.so exist? If not, I would say the FCollada build failed, try running update-workspaces.sh again and look for any error messages.
  • 0
Ben Brian [ aka historic_bruno ]

Wildfire Games Programmer
Contact me: ben [at] wildfiregames [dot] com

#3 MiroslavVitkov

MiroslavVitkov

    Tiro

  • Community Newbie
  • 3 posts

Posted 01 April 2015 - 08:14 AM

Hey, have you tried these binaries (I haven't): http://wildfiregames...=16680&p=264680

 

I am trying to build the game  under Ubuntu and getting the exact same errors (using those instructions: http://trac.wildfire...ildInstructions). 'binaries/system/libCollada.so' does not exist. Whe re-running 'update-workspaces.sh, the suspicious messages are:

 

-- Looking for DirectX - not found

-- Looking for TIFF - not found

 

I solved the second issue by installing some `libtiff` packages. I wonder if this is a mistake on my part or is a missed package in the isntructions.

 

But after rebuilding, there is still no libColldata:

vorac@laptop:~/projects/0ad/binaries/system$ ls | grep libColldata

return nothing.

 

 

------------------------------

EDIT:

 

So, here's the happy ending to my story. I called clean-workspace, followed by update-workspace and now all tests are passing.


Edited by MiroslavVitkov, 02 April 2015 - 07:58 AM.

  • 0

#4 fcxSanya

fcxSanya

    Centurio

  • WFG Retired
  • 738 posts

Posted 02 April 2015 - 07:36 AM

But after rebuilding, there is still no libColldata:
vorac@laptop:~/projects/0ad/binaries/system$ ls | grep libColldata
return nothing.

It's called libCollada, not libColldata
  • 1
Alexander Olkhovskiy [ aka fcxSanya ]
Retired Wildfire Games Programmer
E-mail: fcxsanya at wildfiregames dot com

#5 auron2401

auron2401

    Triplicarius

  • Community Members
  • PipPipPipPip
  • 410 posts

Posted 02 April 2015 - 11:37 AM

Relax, he spelled it wrong, woopy.

Don't jump at him with fangs bared for a spell-oh.


  • 0

Me on UWE forums - If you need any help over there, give me a holler.

Making people question the meaning of life since Lunchtime - , January 24 - 1995.

"It’s a strange myth that atheists have nothing to live for. It’s the opposite. We have nothing to die for. We have everything to live for." - Ricky Gervais

 

 


#6 sanderd17

sanderd17

    Primus Pilus

  • WFG Programming Team
  • 1,734 posts

Posted 02 April 2015 - 11:54 AM

Relax, he spelled it wrong, woopy.

Don't jump at him with fangs bared for a spell-oh.

I think the comment from fcxSanya was a valid one. You can't get results from grep back if you spell it wrong. And it's important for everyone who helps out here that they see the command given was invalid.

 

The bold text also isn't agressive if that's what you mean, it's just used to highlight the difference.


  • 1
Sander Deryckere [ aka sanderd17 ]

Wildfire Games programmer
Contact me: sanderd17 on gmail

#7 fcxSanya

fcxSanya

    Centurio

  • WFG Retired
  • 738 posts

Posted 02 April 2015 - 12:12 PM

Thanks for the clarifications, Sander.
Maybe I should have written a more descriptive answer in the first place (but I assummed that it should be clear enough for the author of the message I answered).
  • 0
Alexander Olkhovskiy [ aka fcxSanya ]
Retired Wildfire Games Programmer
E-mail: fcxsanya at wildfiregames dot com

#8 MiroslavVitkov

MiroslavVitkov

    Tiro

  • Community Newbie
  • 3 posts

Posted 13 April 2015 - 04:32 PM

It's called libCollada, not libColldata

 

Absolutely valid comment, I wasted about an hour until I learn the difference! But the minor question still stands: I suspect something related to TIFF images is missed from the build instructions for Ubuntu. My version is

vorac@laptop:~/projects/0ad$ lsb_release -a
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 14.04.2 LTS
Release:    14.04
Codename:    trusty

My 0ad version is:

vorac@laptop:~/projects/0ad$ git log
commit b969a156c8711ba80e5d4618a0f07f2281d8c8e5
Merge: f807363 60e2691
Author: leper <leper@wildfiregames.com>
Date:   Sat Mar 28 19:18:58 2015 +0100

    Merge 'remotes/trunk'

I followed the build instructions as closely as I can. The `apf-get` line returned no mistakes and no unknown packages.


  • 0

#9 leper

leper

    Centurio

  • WFG Programming Team
  • 717 posts

Posted 13 April 2015 - 10:11 PM

Build output of a full build would be nice (use some paste website).
  • 0
Georg Kilzer [ aka leper ]
Wildfire Games Programmer
Contact me: leper@wildfiregames.com

Support Wildfire Games!

#10 MiroslavVitkov

MiroslavVitkov

    Tiro

  • Community Newbie
  • 3 posts

Posted 19 April 2015 - 08:43 AM

I tried building the game on a fresh Ubuntu. Only those trivial actions are required before running athe apt-get line from the BuildInstructions:

 

sudo apt-add-repository universe
sudo apt-get update

sudo apt-get install git

 

On the other hand, evident from ".bash_hystory", I have been calling "./update-workspaces.sh" without any flags, and the instructions require "--with-system-nvtt".

 

So no packages were missed in the isntructions.


Edited by MiroslavVitkov, 19 April 2015 - 08:45 AM.

  • 0