Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Feb 2008 11:25:28 -0200
From:      Aline de Freitas <aline@riseup.net>
To:        freebsd-questions@freebsd.org
Subject:   llmozlib fails to build (unofficial port)
Message-ID:  <200802141125.38495.aline@riseup.net>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
I'm triyng to build llmozlib (which is a dependency for secondlife viewer) 
from the port provided in 
http://wiki.secondlife.com/wiki/Compiling_the_viewer_(FreeBSD).

The build fails in a way that looks very easy to solve, but I couldn't manage 
it.

The error message:
/usr/bin/ld: cannot find -lmozjs

c++ is invoked with:
-L../../dist/bin -lmozjs

and in the ../dist/bin directory we have:
[root@anderson-herzer /usr/ports/local/llmozlib/work/llmozlib/build_mozilla/objdir-mozilla-freebsd/dist/bin]# 
ls -lh libmozjs.so.1.0 
lrwxr-xr-x  1 root  wheel    28B 14 Fev 10:30 
libmozjs.so.1.0 -> ../../js/src/libmozjs.so.1.0

The link is not broken and the permissions looks right to me:

[root@anderson-herzer /usr/ports/local/llmozlib/work/llmozlib/build_mozilla/objdir-mozilla-freebsd/js/src]# 
ls -lh libmozjs.so.1.0
-rwxr-xr-x  1 root  wheel   693K 14 Fev 10:30 libmozjs.so.1.0

Does any one have any idea about what may be wrong here?

Thanks in advance.
-- 
Aline de Freitas - Chave pública: ID DE632016 / keys.indymedia.org
gpg --keyserver keys.indymedia.org --recv-keys DE632016

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQBHtEFShLRvs95jIBYRAg3CAJ927ckII00O4vx3lC1cEZJH7HSkvgCcCK7d
rPJEMSrpbuU7gL2z+gWsrc0=
=lcJK
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802141125.38495.aline>