Building LO 4.0.4.2 on illumos based OS
Michael Stahl
mstahl at redhat.com
Mon Jul 1 07:43:14 PDT 2013
On 01/07/13 14:58, Gabriele Bulfon wrote:
> [build LNK] Executable/cppumaker
> /usr/gnu/bin/ld: warning: libreg.so, needed by
> /sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice-4.1.0.1/solver/unxsogi.pro/lib/libunoidl.so,
> not found (try using -rpath or -rpath-link)
>
> I tried using the solaris.mk commented options:
>
> @@ -120,6 +120,7 @@
> -L$(SYSBASE)/lib \
> -L$(SYSBASE)/usr/lib \
> -Wl,-z,combreloc \
> + -Wl,-rpath-link,$(SYSBASE)/lib:$(SYSBASE)/usr/lib \
> $(SOLARLIB) \
>
> ifeq ($(HAVE_LD_HASH_STYLE),TRUE)
>
> but no luck, still cannot solve.
did you try adding it to definition of gb_Library__get_rpath like it's
done in unxgcc.mk ? (perhaps just copy that)
> I also tried using Sun ld, but looks like options for ld are always
> gnu-ld ones, so compilation
> stop much earlier.
> ...any clue?
sure, if you want to use Sun ld you need to change quite a few things in
solaris.mk to use different options.
More information about the LibreOffice
mailing list