Date: Tue, 2 Apr 1996 02:10:52 -0800 (PST) From: Jaye Mathisen <mrcpu@cdsnet.net> To: hackers@freebsd.org Subject: ldconfig problem. Message-ID: <Pine.BSF.3.91.960402020307.424A-100000@schizo.cdsnet.net>
next in thread | raw e-mail | index | archive | help
I built the tcl/tk binaries in the ports collection, and it did an
ldconfig -m at the end. But wish4.1 barfs with unable to find the tk shlib.
So I run ldconfig -r, and sure enough it's not there.
so "ldconfig -m /usr/local/lib", thinking that would add it, and it still
doesn't.
However, other libs in /usr/local/lib it finds fine. Or rather, some it
does, some it doesn't. It finds libjpeg, but can't find libtcl* or libtk*.
The only thing I notice about these 2 is that the libtk/libtcl's have x.y
stuff before the .so, and maybe there's a regex getting muffed in
ldconfig.
This line looks suspicious in ldconfig:
n = sscanf(dp->d_name, "lib%[^.].so.%s",
name, rest);
A ldconfig -r doesn't show any libraries that have a '.' before the .so.
schizo# ls -l lib*so*
-r--r--r-- 1 bin bin 126079 Dec 24 03:58 libjpeg.so.6.0
-r--r--r-- 1 root bin 267247 Apr 2 01:26 libtcl7.5.so.1.0
-r--r--r-- 1 bin bin 256764 Dec 24 04:05 libtiff.so.3.3
-r--r--r-- 1 root bin 560527 Apr 2 01:39 libtk4.1.so.1.0
libjpeg.so.6.0 show up, and libtiff show up.
Am I like wandering in the dark here?
Anyway, this is with 2.1-stable, supped a day or so ago.
Anybody have an easy fix? I haven't looked at -current to see what's on
it, that box is down currently.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960402020307.424A-100000>
