[Libreoffice] Strange Shared object xxx not found errors

Francois Tigeot ftigeot at wolfpond.org
Wed Feb 9 07:32:41 PST 2011


On Wed, Feb 09, 2011 at 01:49:21PM +0000, Caolán McNamara wrote:
> 
> So libuno_sal.so should indeed be built into
> sal/unxdflyx3.pro/lib/libuno_sal.so
> so that looks fine, "deliver" should automatically link/copy it to 
> solver/330/unxdflyx3.pro/lib/libuno_sal.so
> so that looks fine. 

> so if you do a export VERBOSE=true and run dmake as per the build failed
> message shown you should have a g++ line like...
> 
> g++ ... 
> -L../unxdflyx3.pro/lib
> ...
> -L/path/to/solver/330/unxdflyx3.pro/lib

Making:    libuno_salhelpergcc3.so.3
g++ -Wl,-rpath,'$ORIGIN' "-Wl,-hlibuno_salhelpergcc3.so.3" -shared -Wl,--version-script ../unxdflyx3.pro/misc/gcc3_uno_salhelpergcc3.map -L../unxdflyx3.pro/lib ../unxdflyx3.pro/slo/uno_salhelpergcc3_version.o -o ../unxdflyx3.pro/lib/libuno_salhelpergcc3.so.3 ../unxdflyx3.pro/slo/condition.o ../unxdflyx3.pro/slo/dynload.o ../unxdflyx3.pro/slo/simplereferenceobject.o ../unxdflyx3.pro/slo/timer.o -luno_sal -Wl,--as-needed -pthread -lm -Wl,--no-as-needed 
/usr/libexec/binutils217/elf/ld: cannot find -luno_sal
dmake:  Error code 1, while making
'../unxdflyx3.pro/lib/libuno_salhelpergcc3.so.3'

I miss the second -L :-(

Many thanks Caolán, I have now something tangible to search for !

> so check if /path/to/solver is correct, perhaps the source/buildtree got
> moved or moved around. Is this head or 3.3.X branch ?

This is -head (master).

-- 
Francois Tigeot


More information about the LibreOffice mailing list