I'm trying to install a module (Image::Imlib2) which depends on DynaLoader being able to find an external C library. Normally, this wouldn't cause a problem but I'm being forced to install the module on a system which I do not have root access on and thus must store the both the module and the library it seeks in a nonstandard location. The location for the module is working fine, as expected, but I have yet to find a way to tell DynaLoader to look in the correct place for the library. I have tried adding

push(@DynaLoader::dl_library_path, '/home/lwire/perllib/clib');

to both the script which I am calling Image::Imlib2 from and to Imlib2.pm itself. Either way, I receive the following error:

Can't load '/home/lwire/perllib/lib/perl5/5.6.1//i686-linux/auto/Image/Imlib2/ Imlib2.so' for module Image::Imlib2: libImlib2.so.1: cannot open shared object file: No such file or directory a
t /usr/lib/perl5/5.6.1/i686-linux/DynaLoader.pm line 206.


Do I need to be defining dl_library_path somewhere else or is there some other method that I can use to define the search path??

Thanks
Reid Beels


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to