Date: Thu, 23 Oct 2008 10:28:46 GMT From: Julien Cigar <jcigar@ulb.ac.be> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/128311: textproc/py-lucene: Shared object "libjava.so" not found Message-ID: <200810231028.m9NASkHx045598@www.freebsd.org> Resent-Message-ID: <200810231030.m9NAU2al084304@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 128311 >Category: ports >Synopsis: textproc/py-lucene: Shared object "libjava.so" not found >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 23 10:30:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Julien Cigar >Release: 7.0-RELEASE >Organization: ULB >Environment: FreeBSD bccm-it.vub.ac.be 7.0-RELEASE-p4 FreeBSD 7.0-RELEASE-p4 #2: Wed Sep 10 09:56:56 CEST 2008 root@bccm-it.vub.ac.be:/usr/obj/usr/src/sys/CUSTOM i386 >Description: Hello, It seems that java/jdk1(5|6) forget to add some paths to the shared library search paths (?), so when you build the port and try to import lucene it says that a shared object is not found : jcigar@bccm-it ~ % python Python 2.5.2 (r252:60911, Sep 9 2008, 09:50:48) [GCC 4.2.1 20070719 [FreeBSD]] on freebsd7 Type "help", "copyright", "credits" or "license" for more information. >How-To-Repeat: Build the port and >>> import lucene >Fix: To fix the problem I created a file /usr/local/libdata/ldconfig/jdk1.5.0 with the following: jcigar@bccm-it ~ % cat /usr/local/libdata/ldconfig/jdk1.5.0 /usr/local/jdk1.5.0/jre/lib/i386 /usr/local/jdk1.5.0/jre/lib/i386/server /usr/local/jdk1.5.0/jre/lib/i386/client then sudo /etc/rc.d/ldconfig restart >Release-Note: >Audit-Trail: >Unformatted: >>> import lucene Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python2.5/site-packages/lucene-2.3.2-py2.5-freebsd-7.0-RELEASE-p4-i386.egg/lucene/__init__.py", line 2, in <module> import os, _lucene ImportError: Shared object "libjava.so" not found, required by "_lucene.so" >>>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810231028.m9NASkHx045598>