Pratik wrote:
Finally it breaks with:

LD_RUN_PATH="/usr/lib:/lib" cc  -shared -L/usr/local/lib APR.o
modperl_error.o modperl_bucket.o modperl_common_util.o
modperl_common_log.o -L/usr/local/lib -o
../../../blib/arch/Apache2/auto/APR/APR.so
-L/home/stas/apache.org/httpd-2.0/srclib/apr -lapr-0 -lrt -lm -lcrypt
-lnsl -lpthread -ldl
/usr//bin/ld: cannot find -lapr-0
collect2: ld returned 1 exit status

I'm not sure how was this supposed to work in first place. Since libapr is
not installed yet.


I faced the same problem while building mp2 statically. I found out
that lapr-0 was already built inside srclib/apr/.lib of httpd. I just
copied that file to /usr/local/lib and it worked like a charm.
Probably, LD_LIBRARY_PATH should be set properly.

What is properly? If during linking you set it to the local, pre-installation located, then it won't work post install. As I have never done this before I'm not sure how is this supposed to work at all. I'd think that you will need to 'make install' in the Apache tree and only then proceed building the modperl 2 modules.



-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to