Computing.Net > Forums > Unix > Shared Libraries with the same name

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Shared Libraries with the same name

Reply to Message Icon

Name: sekellar
Date: October 2, 2006 at 08:16:06 Pacific
OS: Solaris 9
CPU/Ram: -
Product: -
Comment:

Hi All,

Some Unix platforms, such as Solaris 9, have a libspi.so in /usr/lib that conflicts with the libspi.so in $APPDIR/lib of an application that I am using. To work around this problem, the software vendor has made a recommendation of defining $APPDIR/lib ahead of /usr/lib in LD_LIBRARY_PATH.

This works fine for the application, but anything else that depends upon /usr/lin/libspi.so fails to work because it tries to use $APPDIR/lib/libspi.so

Is there any way that the above problem can be avoided and for two shared libraries with the same name to co-exist.

Thanks in Advance

Simon Kellar



Sponsored Link
Ads by Google

Response Number 1
Name: lchi2000g
Date: October 4, 2006 at 17:15:27 Pacific
Reply:

Toggle LD_LIBRARY_PATH components order before executing the different applications.

Luke Chi


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Shared Libraries with the same name

Files with equal names www.computing.net/answers/unix/files-with-equal-names/4198.html

MAtching files agaist the key www.computing.net/answers/unix/matching-files-agaist-the-key/6435.html

how to know if a ftp transfer is really completed www.computing.net/answers/unix/how-to-know-if-a-ftp-transfer-is-really-completed/1773.html