MySQL Forums
Forum List  »  Perl

Re: library linking issue - it's got to be an easy one for someone (not me though)
Posted by: Ben H.
Date: May 08, 2008 03:08AM

I think the solution 2) should be the right one but what you have typed
is not the right way to do that as I understand what you want to do.

To set env variable in a perl script you have to set %ENV, thus take a chance
with,

$ENV{LD_LIBRARY_PATH} = '/usr/local/mysql/lib/mysql';

Note: perldoc perlvar let you know all the details about perl special variables,
look at it, and you will be another one.

Options: ReplyQuote


Subject
Written By
Posted
Re: library linking issue - it's got to be an easy one for someone (not me though)
May 08, 2008 03:08AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.