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
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.
Summary: You can't have two files with the same name. The OS won't allow that. Apparently there are hidden characters in one of the file names. That also happens when the OS seems to not find a file. To you ...
Summary: Thanks a lot Jim! This works. Now that I got my key and matches, Instead of printing them, I want to redirect to files in different dir with the same name some thing like: /new_dir/fileA /new_dir/fi...
Summary: Well, on the HP-UX machine, have it create a new file whose contents are only the CRC (or MD5 SUM) or the file it's named after. Transfer both files, have your NT box do the same thing and compare th...