Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   C++ (http://www.velocityreviews.com/forums/f39-c.html)
-   -   Question about shared libraries (http://www.velocityreviews.com/forums/t459838-question-about-shared-libraries.html)

krivenok.dmitry@gmail.com 01-15-2007 03:12 PM

Question about shared libraries
 
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?


mlimber 01-15-2007 03:17 PM

Re: Question about shared libraries
 
[cross-posting deleted]

krivenok.dmi...@gmail.com wrote:
> 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-lit....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



All times are GMT. The time now is 12:11 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.