.so missing when building openoffice.org-1.1.5.rc2.1 on FreeBSD Release 5.4.

toffi toffi at ramon-galiote.org
Tue Aug 30 23:15:28 GMT 2005


Hello.

I am trying to compile openoffice.org-1.1.5.rc2.1 on FreeBSD 5.4-RELEASE
#0: :/usr/obj/usr/src/sys/GENERIC  i386

The process of building is stopping at the odk project . The checkdll
function raises an error:

Checking DLL ../../../../unxfbsd.pro/lib/check_libofficebean.so ...:
ERROR: Shared object "libm.so.6" not found, required by "libawt.so"

At that moment, we are in:
/usr/ports/editors/openoffice.org-1.1/work/OOo_1.1.5/odk/source/bean/native/unix

and the LD_LIBRARY_PATH is:
../../../../unxfbsd.pro/lib:
../lib:/usr/ports/editors/openoffice.org-1.1/work/OOo_1.1.5/solenv/unxfbsd/lib:
/usr/ports/editors/openoffice.org-1.1/work/OOo_1.1.5/solver/645/unxfbsd.pro/lib:
/usr/ports/editors/openoffice.org-1.1/work/OOo_1.1.5/solenv/unxfbsd/lib:
/usr/local/linux-sun-jdk1.4.2/lib:
/usr/local/linux-sun-jdk1.4.2/jre/lib/i386:
/usr/local/linux-sun-jdk1.4.2/jre/lib/i386/client:
/usr/local/linux-sun-jdk1.4.2/jre/lib/i386/native_threads:
/usr/X11R6/lib


The shared object checked by checkdll (check_libofficebean.so) lacks
libm.so.6  libdl.so.2  libnsl.so.1 libpthread.so.0:

bash-2.05b# ldd ../../../../unxfbsd.pro/lib/check_libofficebean.so
../../../../unxfbsd.pro/lib/check_libofficebean.so:
        libjawt.so =>
/usr/local/linux-sun-jdk1.4.2/jre/lib/i386/libjawt.so (0x28160000)
        libsal.so.3 =>
/usr/ports/editors/openoffice.org-1.1/work/OOo_1.1.5/solver/645/unxfbsd.pro/lib/libsal.so.3
(0x28162000)
        libm.so.3 => /lib/libm.so.3 (0x28311000)
        libawt.so =>
/usr/local/linux-sun-jdk1.4.2/jre/lib/i386/libawt.so (0x2832c000)
        libjava.so =>
/usr/local/linux-sun-jdk1.4.2/jre/lib/i386/libjava.so (0x28638000)
        libjvm.so =>
/usr/local/linux-sun-jdk1.4.2/jre/lib/i386/client/libjvm.so (0x2865a000)
        libc.so.6 => /lib/libc.so.6 (0x28a8e000)
        libmlib_image.so =>
/usr/local/linux-sun-jdk1.4.2/jre/lib/i386/libmlib_image.so (0x28b65000)
        libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x28bb9000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x28bc1000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28c0b000)
        libXtst.so.6 => /usr/X11R6/lib/libXtst.so.6 (0x28c18000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28c1d000)
        libm.so.6 => not found (0x0)
        libdl.so.2 => not found (0x0)
        libverify.so =>
/usr/local/linux-sun-jdk1.4.2/jre/lib/i386/libverify.so (0x28cde000)
        libnsl.so.1 => not found (0x0)
        libdl.so.2 => not found (0x0)
        libnsl.so.1 => not found (0x0)
        libm.so.6 => not found (0x0)
        libdl.so.2 => not found (0x0)
        libpthread.so.0 => not found (0x0)
        libm.so.6 => not found (0x0)
        libdl.so.2 => not found (0x0)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x28cf0000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x28cf8000)


I found the missing .so in the /usr/compat/linux/lib directory, but when
I add this directory in the LD_LIBRARY_PATH, checkdll is not happy:

Checking DLL ../../../../unxfbsd.pro/lib/check_libofficebean.so ...Bus
error (core dumped)

Where should I take these missing .so from ?

Thanks for the help.


Christophe RAMON


More information about the freebsd-openoffice mailing list