Hi All,
After digging around in the ruby1.8 package I discovered the root of the
shlibdeps problem. As it turns out, a one line patch to the ruby1.8
source potentially solves the problem:
On Solaris,
libruby1.8.so.1 is produced during the build
ruby1.8 is linked against libruby1.8.so.1
On Linux,
libruby1.8.so.1.8 is produced during the build
ruby1.8 is linked against libruby1.8.so.1.8
In the debian source package, the libruby1.8 package defines a shlibs
file as part of debhelper:
debian# cat libruby1.8/DEBIAN/shlibs
libruby1.8 1.8 libruby1.8 (>= 1.8.6.111)
Which essentially means that the libruby1.8.so.1.8 library can be
resolved via libruby1.8 (>= 1.8.6.111). This means that libruby1.8.so.1
is not resolved properly on Solaris but is on Linux.
In lightly looking around I am guessing that the shlibs file is
ultimately produced by the two lines (of voodoo) in the debian/rules file:
DEB_SHLIBDEPS_INCLUDE = $(CURDIR)/debian/libruby$(ruby_ver)/usr/lib
DEB_DH_MAKESHLIBS_ARGS_ALL = -m$(ruby_ver) -V
Ok, so the reason I am bothering the list with this is because there are
probably other places that dpkg-shlibdeps breaks in the same way and I
am trying to find a good way to fix this in general. The best my tired
brain can come up with is to recognize symlinks in the package dirs
within dpkg-shlibdeps but maybe someone else has a less kludgy idea?
Thanks,
-Tim
PS: special thanks to dtbartle on #nexenta for helping keep my neurons
aligned during this excavation
_______________________________________________
gnusol-devel mailing list
[email protected]
http://lists.sonic.net/mailman/listinfo/gnusol-devel