Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Question about shared libraries

Reply
Thread Tools

Question about shared libraries

 
 
krivenok.dmitry@gmail.com
Guest
Posts: n/a
 
      01-15-2007
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?

 
Reply With Quote
 
 
 
 
mlimber
Guest
Posts: n/a
 
      01-15-2007
[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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
standard libraries don't behave like standard 'libraries' Sriram Srinivasan Python 13 11-12-2009 06:05 PM
General question about shared libraries on Solaris JNLSeb C Programming 1 01-24-2008 12:57 AM
Using mandatory libraries (custom class loading vs. expanding libraries) Karsten Wutzke Java 21 06-29-2007 09:25 PM
JVM and shared libraries Dave Neary Java 13 03-24-2005 04:44 PM
Shared libraries on dotnet Tascien ASP .Net 1 07-24-2004 02:59 AM



Advertisments