pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/30769: ap-perl on pkgsrc-2005Q2 does not work; undefined symbol(s) on startup



>Number:         30769
>Category:       pkg
>Synopsis:       ap-perl on pkgsrc-2005Q2 does not work; undefined symbol(s) on 
>startup
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 17 17:53:00 +0000 2005
>Originator:     Havard Eidnes
>Release:        NetBSD 2.0
>Organization:
        UNINETT AS
>Environment:
System: NetBSD nsa.uninett.no 2.0 NetBSD 2.0 (GENERIC) #4: Fri Dec 17 01:51:03 
CET 2004  he%nsa-ng.uninett.no@localhost:/usr/obj/sys/arch/i386/compile/GENERIC 
i386
Architecture: i386
Machine: i386
>Description:
        After upgrading the installed packages on this system from
        pkgsrc-2005Q1 to pkgsrc-2005Q2, mod_perl.so will no longer
        load into apache:

Syntax error on line 10 of /www/conf/global.conf:
Cannot load /usr/pkg/lib/httpd/mod_perl.so into server:
/usr/pkg/lib/perl5/5.8.6/i386-netbsd-thread-multi/CORE/libperl.so:
Undefined PLT symbol "gethostent" (symnum = 1835)

        I see that neither mod_perl.so or libperl.so have registered a
        dependency on the C library:

nsa# ldd /usr/pkg/lib/httpd/mod_perl.so
/usr/pkg/lib/httpd/mod_perl.so:
         -lm.0 => /usr/lib/libm387.so.0
         -lm.0 => /usr/lib/libm.so.0
         -lcrypt.0 => /usr/lib/libcrypt.so.0
         -lpthread.0 => /usr/lib/libpthread.so.0
         -lperl => 
/usr/pkg/lib/perl5/5.8.6/i386-netbsd-thread-multi/CORE/libperl.so
nsa# ldd /usr/pkg/lib/perl5/5.8.6/i386-netbsd-thread-multi/CORE/libperl.so
/usr/pkg/lib/perl5/5.8.6/i386-netbsd-thread-multi/CORE/libperl.so:
         -lm.0 => /usr/lib/libm387.so.0
         -lm.0 => /usr/lib/libm.so.0
         -lcrypt.0 => /usr/lib/libcrypt.so.0
         -lpthread.0 => /usr/lib/libpthread.so.0
nsa# 

        However, it appears that the old packages also did not have
        such an explicit dependency (I have the old packages
        available), so this is probably barking up the wrong tree.

>How-To-Repeat:
        Install ap-perl-1.29.nb1, apache-1.3.33nb5, perl-5.8.6nb4 --
        all versions present on pkgsrc-2005Q2, and watch apache with
        mod_perl fail to start where it succeeded with pkgsrc-2005Q1.

>Fix:
        Sorry, I have no idea.




Home | Main Index | Thread Index | Old Index