NetBSD Problem Report #34565

From dauphin@enst.fr  Wed Sep 20 09:40:41 2006
Return-Path: <dauphin@enst.fr>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 3978763B9D6
	for <gnats-bugs@gnats.netbsd.org>; Wed, 20 Sep 2006 09:40:41 +0000 (UTC)
Message-Id: <1158745238.7011@bi.enst.fr>
Date: Wed, 20 Sep 2006 11:40:38 +0200
From: "Gilles Dauphin" <dauphin@enst.fr>
To: "gnats bugs" <gnats-bugs@NetBSD.org>
Subject: lang/python24 Solaris10 gcc
X-Send-Pr-Version: gtk-send-pr 0.4.5 
X-GNATS-Notify:

>Number:         34565
>Category:       pkg
>Synopsis:       lang/python24 Solaris10 gcc
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    rillig
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 20 09:45:00 +0000 2006
>Closed-Date:    Wed Sep 20 12:08:41 +0000 2006
>Last-Modified:  Wed Sep 20 12:10:03 +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




>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->rillig
Responsible-Changed-By: rillig@netbsd.org
Responsible-Changed-When: Wed, 20 Sep 2006 10:52:24 +0000
Responsible-Changed-Why:
It's mine.


State-Changed-From-To: open->analyzed
State-Changed-By: rillig@netbsd.org
State-Changed-When: Wed, 20 Sep 2006 10:52:24 +0000
State-Changed-Why:
I'm working on it.


State-Changed-From-To: analyzed->closed
State-Changed-By: rillig@netbsd.org
State-Changed-When: Wed, 20 Sep 2006 12:08:41 +0000
State-Changed-Why:
I just applied a patch. I didn't take yours because I don't like things
that belong into LDFLAGS to appear in LIBS. :)

Thanks for the PR.


From: Roland Illig <rillig@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/34565 CVS commit: pkgsrc/lang/python24
Date: Wed, 20 Sep 2006 12:07:19 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	rillig
 Date:		Wed Sep 20 12:07:19 UTC 2006

 Modified Files:
 	pkgsrc/lang/python24: distinfo
 	pkgsrc/lang/python24/patches: patch-af

 Log Message:
 libpython needs the pkgsrc-provided LDFLAGS to resolve all dependencies
 at runtime. Fixes PR 34565.


 To generate a diff of this commit:
 cvs rdiff -r1.19 -r1.20 pkgsrc/lang/python24/distinfo
 cvs rdiff -r1.5 -r1.6 pkgsrc/lang/python24/patches/patch-af

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.