Subject: Re: library handling
To: Emmanuel Dreyfus <p99dreyf@criens.u-psud.fr>
From: Todd Vierling <tv@wasabisystems.com>
List: tech-pkg
Date: 01/18/2001 14:44:00
On Thu, 18 Jan 2001, Emmanuel Dreyfus wrote:

: ls: /usr/pkg/emul/linux/usr/lib/libz.so: No such file or directory
: ls: /usr/pkg/emul/linux/usr/lib/libz.so.1.1: No such file or directory
: ls: /usr/pkg/emul/linux/usr/lib/libzvt.so: No such file or directory
: ls: /usr/pkg/emul/linux/usr/lib/libzvt.so.2.2: No such file or directory
: (snip)
: ===> Registering installation for linuxppc_lib-2000.q4
: (snip)
: pkg_create: can't stat `/usr/pkg/emul/linux/usr/lib/libz.so.1.1'
: pkg_create: can't stat `/usr/pkg/emul/linux/usr/lib/libz.so'
: pkg_create: can't stat `/usr/pkg/emul/linux/usr/lib/libzvt.so.2.2'
: pkg_create: can't stat `/usr/pkg/emul/linux/usr/lib/libzvt.so'
:
: I've set SHLIB_HANDLING=NO and CHECK_SHLIBS=  NO, but it is still doing
: this special handling. Did I miss something?

Well, first off, are you including the symlinks ".../libzvt.so", etc. in
your PLIST?  (They're required to be added manually if SHLIB_HANDLING=NO.)

And if they are in the PLIST, which I suspect they are, did you check to
make sure that the symlinks point to *relative* pathnames?  (I have a
feeling that they don't!)

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  Wasabi NetBSD:  Run with it.
-- NetBSD 1.5 now available on CD-ROM  --  http://www.wasabisystems.com/