Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Sep 2003 00:19:11 -0400 (EDT)
From:      Tim Middleton <x@vex.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/57269: python 2.3.1 BUILD_SHARED not finding shared library
Message-ID:  <200309270419.h8R4JBAH019301@nfs.vex.net>
Resent-Message-ID: <200309270420.h8R4KIdb057821@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         57269
>Category:       ports
>Synopsis:       python 2.3.1 BUILD_SHARED not finding shared library
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 26 21:20:18 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Tim Middleton
>Release:        FreeBSD 4.9-PRERELEASE-20030926-JPSNAP i386
>Organization:
The Cain Gang Ltd / Vex.Net
>Environment:
System: FreeBSD nfs.vex.net 4.9-PRERELEASE-20030926-JPSNAP FreeBSD 4.9-PRERELEASE-20030926-JPSNAP #0: Fri Sep 26 00:16:21 GMT 2003 root@tora.jp.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386


>Description:
building the lang/python (2.3.1_1) port using the BUILD_SHARED knob results
in the following message when trying to invoke python after installing:

/usr/libexec/ld-elf.so.1: Shared object "libpython2.3.so" not found

The libpython2.3.so file is created and is in /usr/local/lib after installation; 
however ldd says it can not be found:

$ ldd /usr/local/bin/python
/usr/local/bin/python:
        libpython2.3.so => not found (0x0)       

>How-To-Repeat:
cd /usr/ports/lang/python
BUILD_SHARED=1 make install

>Fix:



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309270419.h8R4JBAH019301>