I am having a little trouble installing a perl module without root/superuser access. I do not have much knowledge about the code of the module, but I do know that the module uses a dynamic loader and I am getting errors from it. So I wonder if this is a common/easily-solvable problem. Here is what I did:
1. I copied the modules file from another user's directory to one of my own.
2. $ make clean -- to clean up the previous installation files
3. $ perl Makefile.PL LIB=_my own installation directory_
4. $ make
5. $ make install
so the entire process went fine with a bit of harmless warnings here and there.
But when I tried to use the module in one of my script, it returns the following error:
==========================================================
undefined symbol: NIL at /usr/local/lib/perl5/5.8.6/i686-linux/DynaLoader.pm line 230.
==========================================================
When I look at the code of DynaLoader.pm, here is what it says:
==========================================================
Many dynamic extension loading problems will appear to come from this section of code: XYZ failed at line 123 of DynaLoader.pm.?Often these errors are actually occurring in the initialisationC code of the extension XS file. Perl reports the error as being?in this perl code simply because this was the last perl code?it executed.
==========================================================
But I am not sure how I should fix the problem.
Thanks a bunch for help!
1. I copied the modules file from another user's directory to one of my own.
2. $ make clean -- to clean up the previous installation files
3. $ perl Makefile.PL LIB=_my own installation directory_
4. $ make
5. $ make install
so the entire process went fine with a bit of harmless warnings here and there.
But when I tried to use the module in one of my script, it returns the following error:
==========================================================
undefined symbol: NIL at /usr/local/lib/perl5/5.8.6/i686-linux/DynaLoader.pm line 230.
==========================================================
When I look at the code of DynaLoader.pm, here is what it says:
==========================================================
Many dynamic extension loading problems will appear to come from this section of code: XYZ failed at line 123 of DynaLoader.pm.?Often these errors are actually occurring in the initialisationC code of the extension XS file. Perl reports the error as being?in this perl code simply because this was the last perl code?it executed.
==========================================================
But I am not sure how I should fix the problem.
Thanks a bunch for help!