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?
Yes
> The first three lines are
>
> 31375 execve("./hello", ["./hello"], [/* 24 vars */]) = 0
> 31375 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
> directory)
> 31375
> open("/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/tls/i686/sse2/libresolv.so.2",
> 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
> 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.
>
I'll check all these tomorrow when I'll be back in the office. This
CentOS was installed
with some strange kickstart file, so this may be a root of all problems.
Anyway I'll let you know if I will find something. Thanks for your help.
Thomas