Subject: pkg/34565: lang/python24 Solaris10 gcc
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 09/20/2006 09:45:01
>Number:         34565
>Category:       pkg
>Synopsis:       lang/python24 Solaris10 gcc
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 20 09:45:00 +0000 2006
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_Patch_118844-30 i86pc


>Description:


=> Running POST-INSTALL script actions
=> Registering installation for python24-2.4.3nb3
python24-2.4.3nb3 requires installed package bzip2-1.0.3
python24-2.4.3nb3 requires installed package db4-4.4.20
python24-2.4.3nb3 requires installed package gettext-lib-0.14.6
python24-2.4.3nb3 requires installed package openssl-0.9.7inb2
python24-2.4.3nb3 requires installed package zlib-1.2.3
=> Checking for missing run-time search paths in python24-2.4.3nb3
ERROR: /usr/pkg/lib/libpython2.4.so:    libdb4-4.4.so.4 =>       (file not found)
ERROR: /usr/pkg/lib/libpython2.4.so.1.0:        libdb4-4.4.so.4 =>       (file not found)
ERROR: *** The above programs/libs will not find the listed shared libraries
ERROR:     at runtime.  Please fix the package (add -Wl,-R.../lib in the right
ERROR:     places)!
*** Error code 1




>How-To-Repeat:


bmake install


>Fix:


I test the following patch and it works.

--- Makefile.orig       Tue Aug 29 14:01:07 2006
+++ Makefile    Wed Sep 20 11:29:50 2006
@@ -34,6 +34,7 @@
 
 # fdatasync()
 LIBS.SunOS+=           -lrt
+LIBS.SunOS+= -R/usr/pkg/lib -L/usr/pkg/lib
 
 PY_VER_SUFFIX=         2.4