Jump to content

ERROR: DllLoader: dlopen(libCollada.so)


Recommended Posts

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

Link to comment
Share on other sites

  • 1 year later...

Hey, have you tried these binaries (I haven't): http://wildfiregames.com/forum/index.php?showtopic=16680&p=264680

I am trying to build the game under Ubuntu and getting the exact same errors (using those instructions: http://trac.wildfiregames.com/wiki/BuildInstructions). '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
Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

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 -aNo LSB modules are available.Distributor ID:    UbuntuDescription:    Ubuntu 14.04.2 LTSRelease:    14.04Codename:    trusty

My 0ad version is:

vorac@laptop:~/projects/0ad$ git logcommit b969a156c8711ba80e5d4618a0f07f2281d8c8e5Merge: f807363 60e2691Author: 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.

Link to comment
Share on other sites

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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...