ports/103896: OO.o port should add <OO_DIR>/program to LD_LIBRARY_PATH

Mihnea Capraru mihnea_capraru at fastmail.fm
Mon Oct 2 09:40:17 UTC 2006

>Number:         103896
>Category:       ports
>Synopsis:       OO.o port should add <OO_DIR>/program to LD_LIBRARY_PATH
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 02 09:40:16 GMT 2006
>Originator:     Mihnea Capraru
>Release:        6.1
FreeBSD R2D2 6.1-RELEASE-p7 FreeBSD 6.1-RELEASE-p7 #0: Mon Sep 25 19:25:03 UTC 2006     root at R2D2:/usr/obj/usr/src/sys/R2D2KERNEL  i386
The OpenOffice.org port doesn't add <OO_dir>/program to LD_LIBRARY_PATH, which makes programs that link to the UNO interface fail with a somehow cryptical message (Java.lang.UnsatisfiedLinkError: createJNI).

Install OpenOffice.org 2 from ports, try to start a UNO application, available from instance among the Developer's Guide samples http://download.openoffice.org/680/sdk.html.
Please append /usr/local/openoffice-***/program to LD_LIBRARY_PATH to prevent this in the future.

More information about the freebsd-ports-bugs mailing list