Subject: Re: openoffice build on 2.0 BETA
To: Michael Rauch <mrauch@NetBSD.org>
From: Rick Kelly <rmk@toad.rmkhome.com>
List: current-users
Date: 07/28/2004 14:24:05
Michael Rauch said:

>Ok, so it got built. Next step normally is to "deliver" (i.e. copy) these
>libraries into a shared directory, namely
>work/oo_1.1.1_src/solver/645/unxbsdi2.pro/lib/
>Can the same files as above (the real lib and two symlinks) also be found in
>that directory? 
>Also it would be interesting to see the command line just before the failure
>message as it might give some additional clues (such as wrong paths on
>the command line). 

Note: pkgsrc is /usr/local/src/pkgsrc

Making: ../../unxbsdi2.pro/bin/pkgchk
unx
cat ../../unxbsdi2.pro/misc/pkgchk.cmd
gcc -z combreloc -z defs -Wl,-rpath,'$ORIGIN' -Wl,-export-dynamic -L../../unxbsdi2.pro/lib -L../lib -L/usr/local/src/pkgsrc/misc/openoffice/work/oo_1.1.1_src/solenv/unxbsdi2/lib -L/usr/local/src/pkgsrc/misc/openoffice/work/oo_1.1.1_src/solver/645/unxbsdi2.pro/lib -L/usr/local/src/pkgsrc/misc/openoffice/work/oo_1.1.1_src/solenv/unxbsdi2/lib -LNO_JAVA_HOME/lib -LNO_JAVA_HOME/jre/lib/i386 -LNO_JAVA_HOME/jre/lib/i386/client -LNO_JAVA_HOME/jre/lib/i386/native_threads -L/usr/X11R6/lib -R/usr/X11R6/lib -o ../../unxbsdi2.pro/bin/pkgchk ../../unxbsdi2.pro/obj/pkgchk_app.o \
-Wl,--whole-archive -lsalcpprt -Wl,--no-whole-archive -lsal -lcppu -lpkgchk645bi -lpthread -lm -Wl,-Bdynamic -lstlport_gcc -lstdc++
/usr/bin/ld: warning: libxcr645bi.so, needed by ../../unxbsdi2.pro/lib/libpkgchk645bi.so, not found (try using -rpath or -rpath-link)

If I copy these libraries to /usr/pkg/lib, it finds them.
-- 
Rick Kelly  rmk@rmkhome.com  www.rmkhome.com