Subject: Shared object not found - but all dependencies are ok ?!
To: None <>
From: Pavel Cahyna <>
List: tech-pkg
Date: 01/08/2005 00:32:00
[ please Cc: me in replies ]

I installed the snx101util binary package from 

I already have gtk+ and imlib installed (compiled from source), so the
installation was OK except for a warning about OS mismatch:

pavel@pc:~/packages$ sudo pkg_add snx101util-0.2.tgz      
pkg_add: Package `/home/pavel/packages/./snx101util-0.2.tgz' OS mismatch:
pkg_add: NetBSD/i386 2.0 (pkg) vs. NetBSD/i386 2.0_BETA (this host)

which I believe should be harmless (isn't 2.0_BETA binary compatible with

Now, I tried to start snx101view and it printed:
Shared object "" not found

I have imlib 1.9.14nb7 which contains only
/usr/pkg/lib/ and /usr/pkg/lib/ .

But pkg_info snx101util prints:


So, the imlib dependency is satisfied, but the program actually does not
find the library that it needs.

Could this be fixed, please? I don't see what the dependencies are for if
they don't guarantee that a program will run when they are satisfied. At
least for shared libraries which are the most common reason for
dependencies this should work.

Couldn't this bye done by embedding the library version in the package
name, like in Debian? (see

THanks and bye	Pavel

Bye	Pavel