----- Original Message ----- 
From: "Nick Glencross" <[EMAIL PROTECTED]>
To: "Sisyphus" <[EMAIL PROTECTED]>; "Perl 6 Internals"
<perl6-internals@perl.org>
Sent: Monday, February 20, 2006 9:47 PM
Subject: Re: Building parrot-0.4.1 on Win32


> On 2/20/06, Sisyphus <[EMAIL PROTECTED]> wrote:
>
> > Oh .... one other thing .... on Linux I had to add (the standard
location)
> > /usr/local/lib to LD_LIBRARY_PATH. I've not had to do that before ...
and
> > the README suggests that I shouldn't have to do it wrt parrot. It says:
> >
> > "But please note that dynamic libs will not be found for non-standard
> > locations unless you set LD_LIBRARY_PATH or similar."
>
> Most distributions of Linux will have /usr/local/lib in
> /etc/ld.so.conf already since it is normally considered a standard
> location. Have you got an entry?
>

Yes, /usr/local/lib is already in /etc/ld.so.conf.

$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

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.)

Cheers,
Rob

Reply via email to