> 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.

Regards,
Pratik

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to