Andrew Smith wrote on 03/25/2009 03:45 PM:
> I'm having this same problem:
> but I don't have root access to modify ldconfig (/etc/ld.so.conf). I also
> just built Swish-e in my local directory. How would I modify ldconfig if I
> don't have root access? Isn't there any way to solve this problem when
> you're building SWISH::API, e.g. pass the library path when you do 'perl
> Makefile.PL'? Of course I could just set LD_LIBRARY_PATH in my .cshrc file
> but that wouldn't work when I want to use SWISH::API from a Perl CGI script
> running as another user on the web server. One solution is to just wrap the
> CGI script in a shell script that first modifies LD_LIBRARY_PATH and then
> execs the CGI script, but that is ugly and there has to be a better way.
set LD_RUN_PATH at build time instead?
buildswishe.pl in the svn trunk does that.
Peter Karman . peter(at)not-real.peknet.com . http://peknet.com/
Users mailing list
Received on Wed Mar 25 17:00:21 2009