Hi, 

About linking OpenSG with colloda :

My collada-dom version (fedora 14) was 2.3.0 and the ldd showed the xml2 lib 
missing.
I downloaded the collada-dom trunk (svn checkout 
https://collada-dom.svn.sourceforge.net/svnroot/collada-dom collada-dom) and 
install it.
The resulting ldd is :

  ldd libcollada14dom.so
        linux-vdso.so.1 =>  (0x00007fffca7f2000)
        libpcre.so.0 => /lib64/libpcre.so.0 (0x00007f0932974000)
        libpcrecpp.so.0 => /usr/lib64/libpcrecpp.so.0 (0x00007f093276b000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f0932554000)
        libboost_filesystem-mt.so.1.44.0 => 
/usr/lib64/libboost_filesystem-mt.so.1.44.0 (0x00007f093232d000)
        libboost_system-mt.so.1.44.0 => /usr/lib64/libboost_system-mt.so.1.44.0 
(0x00007f0932129000)
        libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00007f0931dd5000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f0931ace000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f0931848000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f0931633000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f0931297000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f093107a000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f0930e72000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f0930c6e000)
        /lib64/ld-linux-x86-64.so.2 (0x00000033fd400000)

I remove my previous colloda-dom version to install the 2.3.2 and re-build 
OpenSG.
Now, all it's OK.

Very thanks for your help.

sincerely, 

jerome

----- Mail original -----
> De: "Gerrit Voß" <vo...@vossg.org>
> À: opensg-users@lists.sourceforge.net
> Envoyé: Dimanche 22 Avril 2012 16:09:05
> Objet: Re: [Opensg-users] OpenSG error compilation
> Hi,
> 
> On Fri, 2012-04-20 at 17:44 +0200, Jerome Esnault wrote:
> > Hello,
> >
> > According to the problem with collada link when build OpenSG, I give
> > you the output of my 'make VERBOSE=1' :
> >
> > make[2] : on entre dans le répertoire «
> > /home/jesnault/workspace/openSG/opensg/build »
> > Linking CXX executable ../../bin/testClusterClient
> > cd /home/jesnault/workspace/openSG/opensg/build/Test/OSGCluster &&
> > /usr/bin/cmake -E cmake_link_script
> > CMakeFiles/testClusterClient.dir/link.txt --verbose=1
> > /usr/lib64/ccache/c++ -m64 -D__STDC_FORMAT_MACROS -fPIC -msse2
> > -mfpmath=sse -O3 -DNDEBUG -m64
> > CMakeFiles/testClusterClient.dir/Base/testClusterClient.cpp.o -o
> > ../../bin/testClusterClient -rdynamic
> > ../../bin/libOSGFileIO.so.2.0.0 ../../bin/libOSGUtil.so.2.0.0
> > ../../bin/libOSGWindowGLUT.so.2.0.0 -lglut
> > -lXmu -lXi ../../bin/libOSGCluster.so.2.0.0
> > ../../bin/libOSGDynamics.so.2.0.0 -lcollada14dom
> > ../../bin/libOSGWindow.so.2.0.0 ../../bin/libOSGText.so.2.0.0
> > ../../bin/libOSGDrawable.so.2.0.0
> > ../../bin/libOSGGroup.so.2.0.0 ../../bin/libOSGState.so.2.0.0
> > -lfreetype -lfontconfig
> > ../../bin/libOSGWindowX.so.2.0.0 -lX11 -lglut
> > ../../bin/libOSGSystem.so.2.0.0
> > ../../bin/libOSGBase.so.2.0.0 -ldl -lpthread -lboost_filesystem-mt
> > -lboost_system-mt /usr/lib64/libz.so
> > -lGL -lGLU
> > -Wl,-rpath,/home/jesnault/workspace/openSG/opensg/build/bin
> 
> ok, this look like there is some problem in the transitive closure
> when
> linking collada. It seems the lib was not linked against xml so the
> symbol are left missing ;(.
> 
> As a quick check, what is the output of
> 
> ldd /usr/lib64/libcollada14dom.so
> 
> I'll see if we can pull libxml2 (I guess) if using the system collada
> lib. Unfortunately I don't have an FC16 yet.
> 
> kind regards
> gerrit
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Opensg-users mailing list
> Opensg-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opensg-users

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to