in reply to Tweaking DynaLoader's path without write access to the perl installation

It looks like your linker can not find some dlls that are dependencies for /mypath/auto/ccom/ccom.dll. You need to add the directory these dlls are in to you PATH environmental variable. If you are not sure what dlls are causing the problem the windows equivalent for ldd should help.I'm not sure what this is but Dependency Walker seems like a good place to start.

link@localhost:/tmp$ perl -e'use uB;uB::greet();' Had problems bootstrapping Inline module 'uB_3a3f' Can't load '/tmp/_Inline/lib/auto/uB_3a3f/uB_3a3f.so' for module uB_3a +3f: libstart.so: cannot open shared object file: No such file or dire +ctory at /usr/lib/perl/5.8/DynaLoader.pm line 225. at /usr/local/share/perl/5.8.3/Inline.pm line 500 at uB.pm line 5 BEGIN failed--compilation aborted at uB.pm line 12. Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1. link@localhost:/tmp$ ldd _Inline/lib/auto/uB_3a3f/uB_3a3f.so libstart.so => not found libc.so.6 => /lib/libc.so.6 (0x40010000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) link@localhost:/tmp$ export LD_LIBRARY_PATH=/tmp link@localhost:/tmp$ perl -e'use uB;uB::greet();' Hello, world done link@localhost:/tmp$ ldd _Inline/lib/auto/uB_3a3f/uB_3a3f.so libstart.so => /tmp/libstart.so (0x40004000) libc.so.6 => /lib/libc.so.6 (0x40012000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) link@localhost:/tmp$
  • Comment on Re: Tweaking DynaLoader's path without write access to the perl installation
  • Download Code