apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <...@manyfish.co.uk>
Subject Re: Symbol resolution problems with aprutil
Date Thu, 20 Mar 2003 11:54:35 GMT
On Mon, Mar 17, 2003 at 07:19:22PM +1100, Stas Bekman wrote:
> I'm painfully trying to figure out how to resolve all the dependencies of 
> mod_perl 2.0 on aix. Currently I'm stuck at startup time:
> Can't load 
> '/build/mod_perl/modperl-2.0/blib/arch/Apache2/auto/Apache/RequestUtil/RequestUtil.so'

> for module Apache::RequestUtil:     0509-130 Symbol resolution failed for 
> /usr/local/apache2/lib/libaprutil.so because:
>         0509-136   Symbol _GLOBAL__FI_libexpat_so (number 108) is not 
> exported from
>                    dependent module 
> /usr/local/apache2/lib/libexpat.a(libexpat.so.0).
>         0509-136   Symbol _GLOBAL__FD_libexpat_so (number 109) is not 
> exported from
>                    dependent module 
> /usr/local/apache2/lib/libexpat.a(libexpat.so.0).
>         0509-192 Examine .loader section symbols with the
>                  'dump -Tv' command. at 
> /usr/local/lib/perl5/5.8.0/aix-thread-multi/DynaLoader.pm line 229.
> ....

I'd hoped the resident AIX expert would have answered with an easy "do
this" but he must be distracted :) 

I have no clue about this particular error, but one thing I'd try would
be to fix the Makefiles so that libaprutil.so and libapr.so are linked
against the libraries they are dependent on. e.g. for apr-util, change
the libtool --mode=link lines and add -lexpat on the end.

Can you run and link a simple application which links against

Other relevant questions might be: are you on AIX >= 4.3? Are all these
libraries getting linked with -brtl? Are you using a native CC or gcc?


View raw message