Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: ld.so.1: perl: fatal: relocation error

by tachyon (Chancellor)
on Nov 16, 2004 at 02:40 UTC ( [id://408023]=note: print w/replies, xml ) Need Help??


in reply to ld.so.1: perl: fatal: relocation error

To install HTML parser locally (non super user) I would do:

cd ~ mkdir perl_lib cd HTML-Parser-XXXX perl Makefile.PL PREFIX=~/perl_lib LIB=~/perl_lib make && make test && make install cd ~ setenv PERL5LIB ~/perl_lib cd HTML-TokeParser-Simple-XXXX perl Makefile.PL PREFIX=~/perl_lib LIB=~/perl_lib make && make test && make install

The key part is setting the LIB as the binaries go there. Now in your script you just:

#!/usr/bin/perl use lib '/home/your_username/perl_lib'; use HTML::TokeParser::Simple;

cheers

tachyon

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://408023]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-26 04:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found