Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#17449 - [samba] linked to old heimdal lib (libhx509.so.4)

Attached to Project: Arch Linux
Opened by aap (aaahaaap) - Wednesday, 09 December 2009, 14:38 GMT
Last edited by Allan McRae (Allan) - Wednesday, 09 December 2009, 23:39 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Samba 3.4.3-4 is linked against both libhx509.so.4 and libhx509.so.5
This produces the following error when starting samba: /usr/sbin/smbd: error while loading shared libraries: libhx509.so.4: cannot open shared object file: No such file or directory

ldd `which smbd` | grep -i libhx
libhx509.so.5 => /usr/lib/libhx509.so.5 (0xb6b9f000)
libhx509.so.4 => not found

Current Heimdal 1.3.1-2 provides libhx509.so.5

Btw. In the PKGBUILD under makedepends it says heimdal>=1.3.1 while under depends (both samba and smbclient) it says heimdal>=1.2-1.
This task depends upon

Closed by  Allan McRae (Allan)
Wednesday, 09 December 2009, 23:39 GMT
Reason for closing:  Not a bug
Comment by Allan McRae (Allan) - Wednesday, 09 December 2009, 14:50 GMT
Are you sure your system is fully up to date?

> ldd `which smbd` | grep -i libhx
libhx509.so.5 => /usr/lib/libhx509.so.5 (0xf6a9b000)

and you should use "readelf -d" rather than ldd as that does not walk down the dependency chain making the issue easier to track.

Comment by Gerardo Exequiel Pozzi (djgera) - Wednesday, 09 December 2009, 15:12 GMT
use LD_DEBUG=files smbd 2>&1 to see what is the lib that tries to load the old lib

LD_DEBUG=files /usr/sbin/smbd 2>&1 | egrep "509.*needed"
13356: file=libhx509.so.5 [0]; needed by /usr/lib/libgssapi.so.2 [0]
Comment by aap (aaahaaap) - Wednesday, 09 December 2009, 15:29 GMT
using readelf -d doesn't list libhx509 at all, which probably means it is loaded by another lib?

LD_DEBUG=files smbd 2>&1 | grep -i "libhx.*need"
3659: file=libhx509.so.5 [0]; needed by /usr/lib/libgssapi.so.2 [0]
3659: file=libhx509.so.4 [0]; needed by /usr/lib/libcups.so.2 [0]

the old libhx506.so is apparently needed by libcups.so.2 which I cannot upgrade because of the (xbmc) libjpeg6/7 issue (http://bugs.archlinux.org/task/15552)

Is there any way to solve this (without upgrading libcups or downgrading heimdal, since that isn't possible either)?

I guess it's a faulty report then?
What about the different heimdal versions in the makedepends and depends in the PKGBUILD?
Comment by Gerardo Exequiel Pozzi (djgera) - Wednesday, 09 December 2009, 15:49 GMT
Then rebuild you current cups, so can match current library. Use forums for help about this.

Loading...