[CMake] Problem linking to shared library (inside project) after upgrade to cmake 2.6
Yogesh Marwaha
yogeshm.007 at gmail.com
Sun Jul 13 03:46:52 EDT 2008
First of all, *sorry* for repeated posts containing output.txt/zip...
but I had cancelled the post using the link provided in the mail sent
by cmake-bounces at cmake.org
Now, to the point:
Result of: nm --demangle libGravityCore.so | grep "Gravity::self"
0005e800 t Gravity::self()
Result of: nm --demangle libGravityCore.so | grep "GApplication::GApplication"
00072fa0 t GApplication::GApplication()
000730a0 t GApplication::GApplication()
Result of: ldd -r ./libGravityCore.so (run from the directory in which
libGravityCore.so was)
linux-gate.so.1 => (0xffffe000)
libtag.so.1 => /usr/lib/libtag.so.1 (0xb7ee1000)
libphonon.so.4 => /usr/lib/libphonon.so.4 (0xb7e85000)
libsolid.so.4 => /usr/lib/libsolid.so.4 (0xb7e1a000)
libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0xb6f32000)
libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0xb6d6f000)
...
libpthread.so.0 => /lib/libpthread.so.0 (0xb6d57000)
libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0xb6c8f000)
libQtDBus.so.4 => /usr/lib/libQtDBus.so.4 (0xb6c42000)
libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0xb6c0f000)
libz.so.1 => /lib/libz.so.1 (0xb6bfa000)
libexpat.so.1 => /lib/libexpat.so.1 (0xb63dc000)
So, everything is fine upto this point, right?
Have you taken a look at CMakeLists.txt files I included in my first
mail? Are they alright?
I've not installed 2.4 and 2.6 in parallel. I just shifted to openSUSE
11 which includes 2.6.
--
Yogesh M
More information about the CMake
mailing list