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 libpng.so, 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=''
Regards
Salvador Ortiz
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
|