Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: a (different) library question



> I have two essentially identical machines [...]

> An error is thrown at one particular point, of the style
> "Sharedobject libxxxx.so not found".  Said shared object is in
> /usr/local/lib on both machines, and only in /usr/local/lib.  [...]

> The two instances of the software have the same file size and
> datestamp, as do the two instances of the library.

Same size and datestamp doesn't mean much.  Do they have the same
contents?  (If it's difficult to get them both on the same machine for
a cmp, "same MD5 and SHA-1" should be a usable approximation.)  It's a
long shot, but another thing you might check for identicality is the
dynamic loader itself - on the OS revs I'm used to, /libexec/ld.elf_so
is the place to look.

In case of real trouble, maybe try ktracing the runs.  That should show
you exactly what it's doing and when.  If that's too voluminous,
ktracing just namei resolutions should produce significantly less
tracing while at least telling you what path(s) it's trying to use.

If the paths attempted prove to be the same, perhaps one of them is
running chrooted?

It might also help to say what NetBSD version this is happening under.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse%rodents-montreal.org@localhost
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index