From owner-cvs-all Thu Jan 21 17:45:30 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA05376 for cvs-all-outgoing; Thu, 21 Jan 1999 17:45:30 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from vader.cs.berkeley.edu (vader.CS.Berkeley.EDU [128.32.38.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA05356; Thu, 21 Jan 1999 17:45:18 -0800 (PST) (envelope-from asami@vader.cs.berkeley.edu) Received: (from asami@localhost) by vader.cs.berkeley.edu (8.8.7/8.7.3) id RAA21229; Thu, 21 Jan 1999 17:44:58 -0800 (PST) Date: Thu, 21 Jan 1999 17:44:58 -0800 (PST) Message-Id: <199901220144.RAA21229@vader.cs.berkeley.edu> To: ejc@bazzle.com CC: ejc@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG In-reply-to: (ejc@bazzle.com) Subject: Re: cvs commit: ports/x11-toolkits/tk81/patches patch-ab From: asami@FreeBSD.ORG (Satoshi Asami) Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk * > 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