By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,710 Members | 1,960 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,710 IT Pros & Developers. It's quick & easy. not found error while use Perl DBI

P: n/a
I'm using Postgresql 7.3.4, FreeBSD 4.7, & Apache 2.0.47. I have a
perl script which uses the DBI module and it works great from the
command line as long as I have '/usr/local/pgsgl/lib' in
LD_LIBRARY_PATH or else it would give me an ' not found'

Now, I've turned that perl script into a cgi and from the apache error
log I see the ' not found' message. My own user's
LD_LIBRARY_PATH is set correctly of course but could it be because the
apache user's LD_LIBRARY_PATH isn't set properly that this is
occurring? I believe I've used the ldconfig and other tools to set
the library path but I'm not getting anywhere. Can anyone help?

- Jake
Nov 12 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.