yelekeri has asked for the wisdom of the Perl Monks concerning the following question:
This works fine if the LD_LIBRARY_PATH is already set in the command line. Since I have to use it from CGI, i need to set it in the BEGIN block of script itself, but its not working. In fact the code worked fine but at the end throwing up some error message. Also according to the print statement, the path seems to be fine.#!/var/tmp/faptdt/bin/perl BEGIN { $ENV{LD_LIBRARY_PATH} = "/apps/sybcli/12/xappdefaults/lib"; print "LD_LIBRARY_PATH = " . $ENV{LD_LIBRARY_PATH} . "\n"; } use DBD::Sybase; ......
The error message is :
regardsld.so.1: test.pl: fatal: relocation error: file /apps/sybcli/12/lib/li +btli_r.so: symbol comn_yield: referenced symbol not found Killed
Janitored by tye: Preserve formatting
2006-07-18 Retitled by planetscape, as per Monastery guidelines
Original title: 'LB_LIBRARY_PATH error'
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: LD_LIBRARY_PATH error
by Zaxo (Archbishop) on Jul 17, 2006 at 18:34 UTC | |
Re: LD_LIBRARY_PATH error (search)
by tye (Sage) on Jul 17, 2006 at 18:35 UTC | |
by yelekeri (Novice) on Jul 17, 2006 at 19:25 UTC |