On Mon, Jun 29, 2009 at 10:09 PM, Roderich
Schupp<[email protected]> wrote:
> On Mon, Jun 29, 2009 at 5:08 PM, Thomas Maier<[email protected]> wrote:
>>> $  strace -f -o hello.strace -e trace=file,process ./hello
>>>
>>> and send me the zipped hello.strace (probably to large to post to the list).
>> Done.
>
> That's on CentOS with perl 5.8.8, right?
> The first three lines are
Yes.

>
> 31375 execve("./hello", ["./hello"], [/* 24 vars */]) = 0
> 31375 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or 
> directory)
ld.so.preload is missing on that system

> 31375 
> open("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/tls/i686/sse2/libresolv.so.2",
libresolv.so.2 is placed in /lib and is missing indeed in the above path

> O_RDONLY) = -1 ENOENT (No such file or directory)
>
> And that's very strange. This is before any Perl stuff (even
> internally to the interpreter)
> has had any chance to run, but libresolv.so.2 is being looked up
> in /usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE.  Is
> LD_LIBRARY_PATH set in the
LD_LIBRARY_PATH is not set in this system. What it should be set to ?

> environment? What's even stranger is that later on (part 2 of bootstrap)
>
> 31375 open("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/libperl.so",
> O_RDONLY) = 4
>
> i.e. there really is a libperl.so there.
It is soft link to:
../../../5.8.8/i386-linux-thread-multi/CORE/libperl.so

Reply via email to