Date: Thu, 21 Jan 1999 17:44:58 -0800 (PST) From: asami@FreeBSD.ORG (Satoshi Asami) To: ejc@bazzle.com Cc: ejc@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: ports/x11-toolkits/tk81/patches patch-ab Message-ID: <199901220144.RAA21229@vader.cs.berkeley.edu> In-Reply-To: <Pine.BSF.4.05.9901212032460.26062-100000@gargoyle.bazzle.com> (ejc@bazzle.com)
next in thread | previous in thread | raw e-mail | index | archive | help
* > Are you sure this is correct? It still uses a soname of * > libtk8.1.so.1. That means that if you link against libtk81.so, the * > binary won't be able to find libtk81.so.1 in runtime (since it will be * > looking at libtk8.1.so.1). * Under -current it installs as: You can't go around renaming ELF libraries. :) * -r-xr-xr-x 1 root wheel 865962 Jan 21 12:28 libtk81.a* * lrwxr-xr-x 1 root wheel 12 Jan 21 12:28 libtk81.so@ -> libtk81.so.1 * -r-xr-xr-x 1 root wheel 624176 Jan 21 12:28 libtk81.so.1* Please take a look at the command line that creates the library. It says "-soname libtk8.1.so.1". That means binaries linked against the libtk81.so link will remember the name "libtk8.1.so.1" as the name to search at runtime. Try running the wish8.1 that you just built. You'll get something like this: === ## ldd /usr/local/bin/wish8.1 /usr/local/bin/wish8.1: libtk8.1.so.1 => not found (0x0) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x280ae000) libm.so.2 => /usr/lib/libm.so.2 (0x28141000) libc.so.3 => /usr/lib/libc.so.3 (0x2815b000) ## wish8.1 /usr/libexec/ld-elf.so.1: Shared object "libtk8.1.so.1" not found === Satoshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901220144.RAA21229>