[sldev] [VWR] Mozlib2 troubles

Carsten Juttner carjay at gmx.net
Sun Mar 9 17:09:45 PDT 2008


Robin Cornelius wrote:
> Having some difficulty with mozlib2 :-
>
> 1) Building mozilla source, i didn't want to do this but though i
> would try it the linden way to see if it helps.
>
> For some reason when i build the mozilla tree I seem to end up with
> missing libraries in a handful of make files. It seems to have lost a
> few things to do with -lX11 -lXt -lfreetype so the build stopped a few
> times and i manually added the missing lines into the makefile,
> probably should have found why configure did not do this for me.
>   

Was that related to some "unresolved symbol" from the freetype library 
while trying to link libxul.so?

Like e.g. "FT_FixMul"?

At least I got these and tracked them down to a change in the Mozilla 
linker options which causes undefined symbols in object files to become 
an error (look for "DSO_LDOPTS ="$DSO_LDOPTS -Wl,-z,defs" in the 
configure.in).

Before it didn't matter since Xft pulls in freetype at runtime. Not 
really sure why this does not come up for everyone else. Removing that 
option again should help but it is obviously a change that somebody 
thought was necessary.

Maybe it's distro specific as the flags are retrieved by pkg-config.

Regards,
Carsten



More information about the SLDev mailing list