Question about shared libraries

Discussion in 'C++' started by krivenok.dmitry@gmail.com, Jan 15, 2007.

  1. Guest

    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?
     
    , Jan 15, 2007
    #1
    1. Advertising

  2. mlimber Guest

    [cross-posting deleted]

    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-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
     
    mlimber, Jan 15, 2007
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tascien

    Shared libraries on dotnet

    Tascien, Jul 23, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    371
    Ken Cox [Microsoft MVP]
    Jul 24, 2004
  2. Dave Neary

    JVM and shared libraries

    Dave Neary, Jun 9, 2004, in forum: Java
    Replies:
    13
    Views:
    1,234
  3. Karsten Wutzke
    Replies:
    21
    Views:
    942
    Roedy Green
    Jun 29, 2007
  4. JNLSeb
    Replies:
    1
    Views:
    283
    Walter Roberson
    Jan 24, 2008
  5. Sriram Srinivasan
    Replies:
    13
    Views:
    587
    Benjamin Kaplan
    Nov 12, 2009
Loading...

Share This Page