On Fri, Jan 02, 2004 at 12:53:18PM -0800, Stas Bekman wrote:
> Before we try to fix EU::MakeMaker, how about this workaround patch?
Your patch works.
www:sadm$ ldd `find . -name 'APR.so'`
libapr-0.so.0 => /export/apache2_dev/lib/libapr-0.so.0
[...]
libaprutil-0.so.0 => /export/apache2_dev/lib/libaprutil-0.so.0
libexpat.so.0 => /usr/local/lib/libexpat.so.0
[...]
I'm picking up my expat library rather than Apache's.
This could be a potential problem for some people.
This happens because LDDLFLAGS is in the command line
before LIBS, and -R/usr/local/lib is first in the run
time search path.
Now that I know what the problems are and what's causing
them, I can work around the various issues.
I think in the long term, to handle multiple Apache installations
on the same machine, you will need to address the issue
of which set of Apache libraries mod_perl uses. Ideally, it
should use the same libraries the apache daemon is using, so
you'll either have to set the LD_LIBRARY_PATH/LD_RUN_PATH
environment variable at startup, or dynamically load them
like perl does.
-- Brad
--
-- Brad Lanam [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]