Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Installing perl module involving dynamic loader

Status
Not open for further replies.

shiufai

Programmer
Joined
Nov 21, 2006
Messages
6
Location
JP
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!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top