perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Salvador Ortiz Garcia <>
Subject Re: Sanity check: statically linking binary extensions like GD in to httpd
Date Tue, 13 Nov 2001 21:51:33 GMT
On Tue, 13 Nov 2001, Doug MacEachern wrote:

> On Thu, 8 Nov 2001, Barrie Slaymaker wrote:
> >    ./perlmain.o: In function `xs_init':
> >    ./perlmain.o(.text+0x9f): undefined reference to `boot_libapreq'
> haven't had a change to digest all this, but you should rm the libapreq.a 
> from your site_perl tree to fix this problem.
> as for linking libpng.a instead of, you can try linker flags
> such as: -Bstatic -lpng -Bdynamic
> -Bstatic for everything hasn't worked for me in the past, i think the
> above will only link libpng static.  or, create a directory without the
> .so', like /usr/local/lib/static  and symlink your *.a's into there, and
> use -L/usr/local/lib/static -lpng -lfoo

Haven't seen the original post (I'm in troubles with my server), but the
standard solution when building an static perl extension without MakeMaker
trying to link in other extensions is:

$ perl Makefile.PL INCLUDE_EXT='' 


Salvador Ortiz

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message