On Tue, Feb 21, 2006 at 10:06:36AM +1100, Sisyphus wrote:
> Yes, /usr/local/lib is already in /etc/ld.so.conf.
Perhaps you need to run `ldconfig` as root.

> $LD_LIBRARY_PATH is initially empty. If I don't add '/usr/local/lib' to it,
> then when I run 'parrot hello.pir', I get (transcribed):
> 
> parrot: error while loading shared libraries: libparrot.so.0.4.1: cannot
> open shared object file: No such file or directory

It sounds like your build of libparrot is linked against something under
/usr/local/lib that your linker doesn't know about.  That could be
because the linker doesn't know it's supposed to search /usr/local/lib
or that it's database is out of date.  Either way it's an issue with your
local system.

> Browsing through /usr/local/lib with 'kwrite',  I notice that the
> permissions for 'libparrot.so.0.4.1' are -rwxr-xr-x, whereas for many of the
> other shared libraries the permissions are 'lrwxr-xr-x'. I don't know if
> that's relevant to the issue .... I don't know what the first permission is,
> or how to change it. (I don't use linux all that much.)

That's not relevant.

Cheers,

-J

--

Attachment: pgp2DGOL46DBA.pgp
Description: PGP signature

Reply via email to