Question about shared libraries

K

krivenok.dmitry

Hello All!

I have developed my application and I want to install it on server of
my client.
Development platform is Gentoo Linux.
Target platform is Debian Linux.

This is the output of "ldd" utility:

krivenok@develop ~/work/my_prog $ ldd my_prog
linux-gate.so.1 => (0xffffe000)
libACE-5.5.3.so => /usr/lib/libACE-5.5.3.so (0xb7d90000)
libboost_program_options.so.1.33.1 =>
/usr/lib/libboost_program_options.so.1.33.1 (0xb7d4b000)
libstdc++.so.5 =>
/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.6/libstdc++.so.5 (0xb7c91000)
libm.so.6 => /lib/libm.so.6 (0xb7c6e000)
libgcc_s.so.1 =>
/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.6/libgcc_s.so.1 (0xb7c66000)
libc.so.6 => /lib/libc.so.6 (0xb7b4f000)
librt.so.1 => /lib/librt.so.1 (0xb7b3c000)
libdl.so.2 => /lib/libdl.so.2 (0xb7b37000)
/lib/ld-linux.so.2 (0xb7f29000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7ae4000)
krivenok@develop ~/work/my_prog $

As you can see my application depends up several shared libraries.

Obviously, these libraries may be slightly different on target
platform.
Is it guaranteed that my application will work on target platform as
well as on
development platform?
 
M

mlimber

[cross-posting deleted]

I have developed my application and I want to install it on server of
my client.
Development platform is Gentoo Linux.
Target platform is Debian Linux. [snip]
As you can see my application depends up several shared libraries.

Obviously, these libraries may be slightly different on target
platform.
Is it guaranteed that my application will work on target platform as
well as on
development platform?

You question is not related to the C++ *language* proper, which is the
topic of this group
(http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.9).
Please post in a group related to your platform or development tools
for help on such platform-specific questions.

Cheers! --M
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top