Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


Hi, I'm tinkering with lo 4.2.4.2 and am having a bit of an issue building pluginapp.bin in the extensions path, as it needs libuno_sal.so

The following is where all the flavours are found in the build tree:
$ find . -name 'libuno_sal.so*' | xargs stat -c"%N"
‘./instdir/sdk/lib/libuno_sal.so’ -> ‘../../ure-link/lib/libuno_sal.so.3’
‘./instdir/ure/lib/libuno_sal.so.3’
‘./instdir/ure/lib/libuno_sal.so.3-gdb.py’
‘./workdir/Dep/LinkTarget/Library/libuno_sal.so.3.d’
‘./workdir/LinkTarget/Library/libuno_sal.so.3.objectlist’
‘./workdir/LinkTarget/Library/libuno_sal.so.3.exports’
‘./workdir/Headers/Library/libuno_sal.so.3’

This is the error encountered:
==============================
S=/var/tmp/pkgsrc/misc/libreoffice4/work/libreoffice-4.2.4.2 && I=$S/instdir && W=$S/workdir && g++ -Wl,-z,origin '-Wl,-rpath,$ORIGIN:$ORIGIN/../ure-link/lib' -L$I/ure/lib -L$I/program -z nodefs $W/CxxObject/extensions/source/plugin/unx/npwrap.o $W/CxxObject/extensions/source/plugin/unx/npnapi.o -Wl,--start-group $W/LinkTarget/StaticLibrary/libplugcon.a -lm -lnsl -lsocket -lXt -lXext -lX11 -ldl -L/opt/local/lib -Wl,-R/opt/local/lib -lgthread-2.0 -lpthread -lthread -Wl,-R/opt/local/lib -lglib-2.0 -lintl -L/opt/local/lib -Wl,-R/opt/local/lib -lgtk-x11-2.0 -Wl,-R/opt/local/lib -lgdk-x11-2.0 -Wl,-R/opt/local/lib -lpangocairo-1.0 -Wl,-R/opt/local/lib -latk-1.0 -Wl,-R/opt/local/lib -lcairo -Wl,-R/opt/local/lib -lgio-2.0 -Wl,-R/opt/local/lib -lpangoft2-1.0 -Wl,-R/opt/local/lib -lpango-1.0 -Wl,-R/opt/local/lib -lfontconfig -Wl,-R/opt/local/lib -lfreetype -Wl,-R/opt/local/lib -lgdk_pixbuf_xlib-2.0 -Wl,-R/opt/local/lib -lgmodule-2.0 -lpthread -lthread -Wl,-R/opt/local/lib -lgdk_pixbuf-2.0 -Wl,-R/opt/local/lib -lgobject-2.0 -Wl,-R/opt/local/lib -lglib-2.0 -lintl -L/opt/local/lib -Wl,-R/opt/local/lib -lgtk-x11-2.0 -Wl,-R/opt/local/lib -lgdk-x11-2.0 -Wl,-R/opt/local/lib -lpangocairo-1.0 -Wl,-R/opt/local/lib -latk-1.0 -Wl,-R/opt/local/lib -lcairo -Wl,-R/opt/local/lib -lgdk_pixbuf-2.0 -Wl,-R/opt/local/lib -lgio-2.0 -Wl,-R/opt/local/lib -lpangoft2-1.0 -Wl,-R/opt/local/lib -lpango-1.0 -Wl,-R/opt/local/lib -lgobject-2.0 -Wl,-R/opt/local/lib -lglib-2.0 -lintl -Wl,-R/opt/local/lib -lfontconfig -Wl,-R/opt/local/lib -lfreetype -Wl,--end-group -Wl,--no-as-needed -luno_sal -o $I/program/pluginapp.bin

ld: fatal: library -luno_sal: not found
=================================

Either 'sdk/lib' needs to be added as a runpath-link (which works fine manually) or a symlink to libuno_sal.so.3 would need to be created in 'ure/lib' as that path is already used.

Thanks in advance for suggestions on how one might successfully do this, it doesn't seem intuitive looking at the makefiles in
${src}/extensions/Executable_pluginapp.bin.mk and
${src}/sal/Library_sal.mk

FWIW, this is building with patches on pkgsrc under SunOS with gcc and solaris ld so don't be too worried about the noise in the above fragment.


Context


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.