[thelist] [mod_perl/Apache::DBI] undefined symbol:

Dean Mah dsmah at home.com
Tue Mar 20 11:02:38 CST 2001

What about DynaLoader and DBI?  You compiled them yourself and they
didn't throw any warnings at all?  The modules will likely compile
even if they throw warnings about the shared libraries not working.
Also, when you compiled Apache (I think), it will try to do something
intelligent for shared library handling, make sure that the
configuration it picks is appropriate for your platform.

ld.so.conf should have the path to wherever your shared libraries are.
So if DBI.so and libperl.so happen to be in /usr/local/apache/libexec,
this path should probably be in ld.so.conf.


Anthony Baratta writes:

> At 05:39 AM 3/20/2001, you wrote:
> >Did you compile them yourself or did they come from the distribution?
> >If they came from the distribution, I'd try compiling them myself.
> >Also check things like /etc/ld.so.conf to make sure that it includes
> >the path to your shared libraries.  If it doesn't, add them and then
> >run ldconfig.
> I've compiled Perl, mod_perl, and Apache all myself. ;-)
> I looked at the ld.so.conf file - but I don't understand what it does, or 
> what should be in it. Which shared libraries directories should be in there 
> for this type of configuration?

More information about the thelist mailing list