[sldev] [VWR] Mozlib2 troubles

Robin Cornelius robin.cornelius at gmail.com
Mon Mar 10 12:39:11 PDT 2008


Carsten Juttner wrote:
> Robin Cornelius wrote:
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).

I think it was, sounds about right.

> 
> 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.
> 

Certainly looks like its distro specific. Although mozilla did not do
this to me on mozlib1 but maybe something has changed as its a different
checkout branch of mozilla now too.

Anyway, i'm not too bothered now as i've got standalone xulrunner
working again with mozlib2 (mostly due to my stupidity and forgetting
that i actually made some minor patches to mozlib1) and all the webby
things seem to work for me as well as they ever did and web on a prim
seems to work too, so i declare it working again :-)

Robin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20080310/5570e79e/signature.pgp


More information about the SLDev mailing list