473,398 Members | 2,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

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?

Jan 15 '07 #1
1 1180
[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

Jan 15 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Rickard Lind | last post by:
Is there any way to build the python executable statically and still be able to load modules built as shared libraries? I'm trying to run python scripts on a stripped down FreeBSD (4.9) machine...
1
by: rinku24 | last post by:
We have two C++ libraries (Unix Shared objects) with the same class name and no namespace. Is there any way to load both the libraries and selectivly create the instance of the class from...
12
by: Bit byte | last post by:
I have an application written in C (actually PostgreSQL). The application appears to have been built using the Mingw set of tools (mingw compiler tools). I want to write an extension library...
14
by: Sumit77Sen | last post by:
who calls main() ?
5
by: David T. Ashley | last post by:
I've occasionally had trouble compiling and linking programs that use shared libraries. That never made a lot of sense to me, because I thought the operating system went hunting for the symbols...
2
by: Tobias Bergmann | last post by:
Hi, I work on a big project that consists of many small linux C++ CGI binaries. This actually works fine but our problem is that we use many ..so libraries and we need to compile it separately...
3
by: Bala | last post by:
Hello, I am trying to create a shared library on solaris. The inputs to this library is a source file and then 2 static libraries. I need to call code within the shared library in another...
3
by: S S | last post by:
Hi Are there some known issues using STL with shared library. Recently I got some crash for which the reason I dont see any, and searching on goolge shown some such issues with shared library. ...
4
by: stuntgoat | last post by:
Hi, I want to start using Python 2.6 and 3000. I have several questions. What, in your experiences, is a functionally elegant solution to installing 2.6 and 3 from source without breaking...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.