Hi,

I'm encountering a very strange behavior with the executable I generated
using PAR-0.80 with perl-5.8.4, on Linux 2.4.22-10mdk (aka Mandrake 9.2).

My PATH has /home/me/bin in it and I copy 'my.exe' into that directory after
building it. If I run it using just the name of the file, it fails. If I use the full
path to the file, it runs correctly. Any clues as to what is going on?

Here are various pieces of information on the system and the results of
various commands:

[/home/me] file bin/me.exe
bin/me.exe: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 
2.2.5, dynamically linked (uses shared libs), stripped

[/home/me]$ me.exe
IO error: opening me.exe for read : No such file or directory
 at -e line 164
Can't call method "extractTree" on an undefined value at ../blib/lib/PAR.pm line 263.

[/home/me]$ bin/me.exe
... expected behavior...

[/home/me]$ ldd bin/me.exe
        libnsl.so.1 => /lib/libnsl.so.1 (0x40024000)
        libdl.so.2 => /lib/libdl.so.2 (0x40038000)
        libm.so.6 => /lib/i686/libm.so.6 (0x4003b000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x4005e000)
        libutil.so.1 => /lib/libutil.so.1 (0x4008c000)
        libc.so.6 => /lib/i686/libc.so.6 (0x4008f000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Thanks for any help you can give on this!

Alan
==================================
www.beprivate.com - Your privacy is our priority


Reply via email to