Hi everybody,

I hope I'm asking this on the right forum... But this question
involves several different packages :-)

On a FreeBSD 4.4 system, I am trying to use DBD::mysql (in my library,
I have "use Mysql") with mod_perl 1.26. However, when running under
mod_perl (and ONLY when running under mod_perl, it seems), I receive
the following error (lines wrapped, here) in my apache log, and the
execution fails:

Can't load
'/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/DBD/mysql/mysql.so'
for module DBD::mysql: Shared object "libmysqlclient.so.10" not found
at /usr/libdata/perl/5.00503/Dynaloader.pm line 169.

libmysqlclient.so.10 DOES exist, and has been successfully configured
with ldconfig. And, scripts NOT running under mod_perl can use Mysql
without a problem.

I expect this may be a FAQ, and I swear I've run across this before,
but haven't had any luck grepping my notes.

Help? :-)

Thanks,
- Ryan

-- 
  Ryan Thompson <[EMAIL PROTECTED]>
  Network Administrator, Accounts

  SaskNow Technologies - http://www.sasknow.com
  #106-380 3120 8th St E - Saskatoon, SK - S7H 0W2

        Tel: 306-664-3600   Fax: 306-664-1161   Saskatoon
  Toll-Free: 877-727-5669     (877-SASKNOW)     North America

Reply via email to