[Libreoffice] Strange Shared object xxx not found errors
Francois Tigeot
ftigeot at wolfpond.org
Mon Feb 7 10:35:37 PST 2011
My builds are now crashing in the same way in a few modules; pyuno is one of
them.
Making: libpyuno.so
: ERROR: Shared object "libpython2.6.so.1.0" not found, required by "check_libpyuno.so"
dmake: Error code 1, while making '../../unxdflyx3.pro/lib/libpyuno.so'
Forcing regeneration of dependency info
Compiling: unoxml/source/dom/documentbuilder.cxx
Retrying /home/ftigeot/Projects/LibreOffice/bootstrap/pyuno/source/module
Making: all_pyuno.dpslo
Making: libpyuno.so
Compiling: unoxml/source/dom/documentfragment.cxx
Compiling: unoxml/source/dom/documenttype.cxx
: ERROR: Shared object "libpython2.6.so.1.0" not found, required by "check_libpyuno.so"
dmake: Error code 1, while making '../../unxdflyx3.pro/lib/libpyuno.so'
dmake is trying to build libpyuno.so in pyuno/unxdflyx3.pro/lib/
The hidden command not visible in the build output is in the file
pyuno/unxdflyx3.pro/misc/pyuno.libpyuno_1.cmd :
g++ -Wl,-z,noexecstack -Wl,-z,combreloc -Wl,-zdynsort -g -Wl,-rpath,'$ORIGIN:$ORIGIN/../ure-link/lib',--enable-new-dtags -shared -L../../unxdflyx3.pro/lib -L../lib -L/home/ftigeot/Projects/LibreOffice/bootstrap/solenv/unxdflyx3/lib -L/home/ftigeot/Projects/LibreOffice/bootstrap/solver/330/unxdflyx3.pro/lib -L/home/ftigeot/Projects/LibreOffice/bootstrap/solenv/unxdflyx3/lib -LNO_JAVA_HOME/lib -LNO_JAVA_HOME/jre/lib/amd64 -LNO_JAVA_HOME/jre/lib/amd64/client -LNO_JAVA_HOME/jre/lib/amd64/native_threads -L/usr/pkg/lib ../../unxdflyx3.pro/slo/pyuno_version.o -o ../../unxdflyx3.pro/lib/libpyuno.so ../../unxdflyx3.pro/slo/pyuno_runtime.o ../../unxdflyx3.pro/slo/pyuno.o ../../unxdflyx3.pro/slo/pyuno_callable.o ../../unxdflyx3.pro/slo/pyuno_module.o ../../unxdflyx3.pro/slo/pyuno_type.o ../../unxdflyx3.pro/slo/pyuno_util.o ../../unxdflyx3.pro/slo/pyuno_except.o ../../unxdflyx3.pro/slo/pyuno_adapter.o ../../unxdflyx3.pro/slo/pyuno_gc.o -luno_cppu -luno_cppuhelpergcc3 -luno_sal -lpython2.6 -lutil -Wl,--as-needed -pthread -lm -Wl,--no-as-needed
The library is present in /usr/pkg/lib/libpython2.6.so.1.0
When I run the command by hand in a shell, there's no error and the target
libpyuno.so is correctly created.
I can't figure out why the build keeps stopping with these Shared object not
found errors.
Is there any way to have dmake print the commands it is trying to run or give
more information on what it is actually doing ?
--
Francois Tigeot
More information about the LibreOffice
mailing list