develooper Front page | perl.beginners | Postings from August 2003

Build.BL - static linking? or env setting? please?

From:
Reid Beels
Date:
August 29, 2003 21:25
Subject:
Build.BL - static linking? or env setting? please?
Message ID:
B83A5777-9CFE-11D5-AFC4-0030659090A0@mistmovie.com
Is there a way to get Module::Build to build a module with static 
linking to required libraries?  Currently, I am running Image::Imlib2 
and am having to set LD_LIBRARY_PATH to /home/lwire/perllib/lib before 
I run anything using the module.  The problem is, I haven't found a way 
to successfully set this variable in my cgi environment.  I've tried 
using SetEnv and SetEnvIf in a .htaccess file, but my host doesn't 
support it.  I've also looked at setting the variable in a BEGIN block 
of my coding, but this doesn't work either.  Any tips on either 
staticly linking Image::Imlib2 or setting LD_LIBRARY_PATH in an apache 
environment which I don't administer?

Thanks,
--Reid Beels




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About