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
Context
- [Libreoffice] Strange Shared object xxx not found errors · Francois Tigeot
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.