[sldev] beta-1.13.4.3 Linux build problems

Dale Glass dale at daleglass.net
Thu Mar 1 11:55:31 PST 2007


В сообщении от 1 марта 2007 20:44 Boroondas Gupte написал(a):
> Compiling (or more actually, linking) fails on my machine (gentoo) with
>
> the following message:
> > /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin
> >/ld: cannot find -lmozjs
> > collect2: ld returned 1 exit status
> > scons: *** [newview/secondlife-i686-bin-globalsyms] Error 1
> > scons: building terminated because of errors.
>
> I suspect it's looking for the file mozjs.h but I can't seem to locate
> it myself, so I don't have any workaround, yet.
No, that's not a header, it's a library (.so) it's looking for

Try disabling llmozlib. Besides doing the change in the header, you have to 
edit SConstruct and remove or comment these lines (line 195)

                       client_external_libs += [ 'llmozlib' ]
                       client_external_libs += 
[ 'mozjs', 'nspr4', 'plc4', 'plds4', 'profdirserviceprovider_s', 'xpcom', 'xul' ]


>
> Boroondas Gupte
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> /index.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20070301/67065e0c/attachment.pgp


More information about the SLDev mailing list