Patch: RFC: make libltdl search for version-specific symlinks first
Thomas Fitzsimmons
fitzsim@redhat.com
Wed Aug 25 14:05:00 GMT 2004
Hi,
This patch makes libltdl search for a version-specific DSO before
searching for the corresponding versionless DSO. This will allow
multiple ABI-incompatible versions of libgcj to be installed in parallel
in the same prefix. Currently, this isn't possible because libltdl
finds only the versionless .so symlink, so only the most
recently-installed libgcj will find the correct version of the peer
library.
Currently, libltdl searches for the peer library like this: first it
looks for lib-gnu-java-awt-peer-gtk.la. Failing that, it looks for
lib-gnu-java-awt-peer-gtk.so. This patch adds an intermediate search
for lib-gnu-java-awt-peer-gtk.so.n, where n is the ABI version number.
Comments?
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgcj-libltdl-version-lookup.patch
Type: text/x-patch
Size: 3701 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040825/f4c31428/attachment.bin>
More information about the Java-patches
mailing list