perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Schout <msch...@gkg.net>
Subject Re: Undefined symbol "modperl_io_perlio_restore_stdout"
Date Thu, 06 Nov 2014 17:43:06 GMT
On 9/14/14 1:08 PM, Bernard T. Higonnet wrote:
> -------------8<---------- Start Bug Report ------------8<----------
> 1. Problem Description:

99% sure what happened is that you didn't patch libtool in the mod_perl
dist.

Libtool misidentifies FreeBSD 10 as FreeBSD 1.x, and therefore thinks it
cannot create shared libraries.  You have to patch libtool and all of
the libtool associated files so that it does not recognize it as FreeBSD
1.x.

You need to patch configure, ltconfig, and ltmain.sh to fix this.

See the patch-libtool rule in your FreeBSD ports tree at:

    Mk/Uses/libtool.mk

for an example of how to patch this.

If you fail to patch libtool, the error below is exactly what you will see:

> /tmp/mod_perl-2.0.8/src/modules/perl/mod_perl.so: Undefined symbol
> "modperl_io_perlio_restore_stdout"

I just ran into this myself a few weeks ago.

Hope it helps.

Its not really mod_perl specific.  Many packages have this problem due
to shipping with libtool that mis-identifies FreeBSD 10.

Regards,
Michael Schout

Mime
View raw message