Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by tachyon (Chancellor)
on Nov 16, 2004 at 02:40 UTC ( #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
Node Status?
node history
Node Type: note [id://408023]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2018-10-18 13:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When I need money for a bigger acquisition, I usually ...














    Results (102 votes). Check out past polls.

    Notices?