Subject: pkg/29191: ap-python can't find libpth after building
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <diro@nixsys.bz>
List: pkgsrc-bugs
Date: 02/01/2005 23:55:01
>Number:         29191
>Category:       pkg
>Synopsis:       ap-python can't find libpth after building
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 01 23:55:00 +0000 2005
>Originator:     diro@nixsys.bz
>Release:        NetBSD 1.6.2
>Organization:
>Environment:
System: NetBSD nixsys 1.6.2 NetBSD 1.6.2 (NIXSYS) #10: Thu Mar 4 22:20:38 EST 2004 root@nixsys:/usr/src/sys/arch/alpha/compile/NIXSYS alpha
Architecture: alpha
Machine: alpha
>Description:

Starting apache with python support enabled:

Syntax error on line 193 of /usr/pkg/etc/httpd/httpd.conf:
Cannot load /usr/pkg/lib/httpd/mod_python.so into server: /usr/pkg/lib/httpd/mod
_python.so: Undefined PLT symbol "pth_self" (reloc type = 26, symnum = 848)
/usr/pkg/sbin/apachectl startssl: httpd could not be started

After recompiling and configtest'ing:

Cannot load /usr/pkg/lib/httpd/mod_python.so into server: Shared object "libpth.
so.20" not found
	
I'm assuming this happened after the recent changes to python and is occurring in the linking stage?

>Fix: