http://qs321.pair.com?node_id=385662


in reply to Re^5: wxPerl and PAR
in thread wxPerl and PAR

Adding libwx_gtk-2.4.so with the -l option does not work as expected :-(

I create the PAR executable with
pp -l /usr/local/lib/libwx-gtk_-2.4.so -o hello hello.pl

When I run hello I get the following error:
Can't load /tmp/par-bernd/cache-deadbeef/1234abcd.so for module Wx: library libwx-gtk_-2.4.so: cannot open shared object file: No such file or directory

After that the cache directory is filled with everything that is needed (perl modules, so's).

The second try to run hello succeeds.

Replies are listed 'Best First'.
Re^7: wxPerl and PAR
by PodMaster (Abbot) on Aug 25, 2004 at 13:03 UTC
    Hmm, I'm not sure I understand what's going on exactly. I would suggest setting PAR_DEBUG=1, but that feature apparently disappeared :( Try editing the "executable" manually (its' a zip file) and put libwx-gtk_-2.4.so under lib/auto/Wx/ and see if that does anything. Be sure to delete the cached stuff.

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.