Hello every body
I have just installed a new freewrl software to use it in specific application and tried to test it by typing freewrl command in the terminal as the following:
nobani@linux-m9c6:~> freewrl
freewrl: error while loading shared libraries: libmozjs.so: cannot open shared object file: No such file or directory
nobani@linux-m9c6:~>
Also I am trying to use it by clicking the freewrl icon in the kickof application launcher without any success.
and do not see instructions for installing on openSUSE, nor any
rpms–so, did you download the source and compile/install…or??
if you did compile/install did you have any errors? (apparently
libmozjs.so is required but not available on your machine, a fact that
i’d expect the configure/make to complained about)
Bummer that there seems to be some silliness somewhere in the logic behind
this utility. The freewrl command is loaded directly without setting up
an LD_LIBRARY_PATH that would find the libmozjs.so file (I have the same
thing as you… x86_64 and Gnome). Easy enough to fix, though.
#x86_64 system like mine… hacked workaround:
LD_PRELOAD=/usr/lib64/xulrunner-1.9.1.10/libmozjs.so freewrl
#x86_32 system should be similar, but probably just ‘lib’ instead of ‘lib64’.
Put the stuff above in a script called ‘freewrl’ in your user’s ‘bin’
directory (~/bin/freewrl) and that should do it… at least until you get
to the next error that may be specific to my system or maybe is not:
<quote>
opengl version=2.1 Mesa 7.6
FreeType - can not use font /usr/share/fonts/VeraMono.ttf
dont know how to handle font id 0
FreeType - can not use font /usr/share/fonts
FreeWRL got a SIGSEGV - can you please mail the file(s) to freewrl-09@rogers.com with a valid subject line. Thanks.
</quote>
The path above to the VeraMono.ttf file does not exist, but that file
exists instead at /usr/share/fonts/truetype/VeraMono.ttf. Not sure what
to make of that as that file comes with bitstream-vera-1.10-306.2.noarch
which was installed as a dependency of FreeWRL. Anyway, looks like this
needs some updating somewhere. To me this looks like a packaging problem
so perhaps try compiling from source or find an RPM elsewhere (or an older
one on the OpenSUSE Build Service (OBS)) to see if that helps.
Good luck.
On 07/04/2010 11:56 PM, al-nobani wrote:
>
> Hello every body
> I have just installed a new freewrl software to use it in specific
> application and tried to test it by typing freewrl command in the
> terminal as the following:
>
> Code:
> --------------------
> nobani@linux-m9c6:~> freewrl
> freewrl: error while loading shared libraries: libmozjs.so: cannot open shared object file: No such file or directory
> nobani@linux-m9c6:~>
>
> --------------------
>
> Also I am trying to use it by clicking the freewrl icon in the kickof
> application launcher without any success.
>
> I am using openSUSE11.2 with default KDE
>
> thanks a lot
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
nobani@linux-m9c6:~> freewrl
opengl version=2.1 Mesa 7.6
FreeType - can not use font /usr/share/fonts/VeraMono.ttf
dont know how to handle font id 0
FreeType - can not use font /usr/share/fonts
FreeWRL got a SIGSEGV - can you please mail the file(s) to
[email]freewrl-09@rogers.com[/email] with a valid subject line. Thanks.
nobani@linux-m9c6:~>
then I do not know what I have to do??
Any Idea???
First, and I do mean first, copy/paste what you have below to the e-mail
address as requested. This will hopefully fix things in the future. Cite
this thread for fun so the author can see the entire discussion.
Second, I can get past this by giving the app what it wants as follows:
Seriously, though, please send the e-mail first before you forget or else
you’ll fight this forever needlessly.
Good luck.
On 07/05/2010 02:56 AM, al-nobani wrote:
>
> Yes I get the same error massage.
> have a look:
>
> Code:
> --------------------
> nobani@linux-m9c6:~> freewrl
> opengl version=2.1 Mesa 7.6
> FreeType - can not use font /usr/share/fonts/VeraMono.ttf
> dont know how to handle font id 0
> FreeType - can not use font /usr/share/fonts
> FreeWRL got a SIGSEGV - can you please mail the file(s) to
> freewrl-09@rogers.com with a valid subject line. Thanks.
> nobani@linux-m9c6:~>
> --------------------
>
>
> then I do not know what I have to do??
> Any Idea???
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
Hi,
I have the similar problem. I tried to install freewrl-1.22.12_pre2 on OpenSuSE 12.1 (64bit), it compiled without error, but failed to run, I got the following error message:
jyh-shyong@linux-i7:~/Downloads/freewrl/freex3d> /usr/local/bin/freewrl
FreeWRL expected library version 1.22.12, got 1.22.13…
fwl_startFreeWRL called
opengl version=1.4 (2.1.2 NVIDIA 290.10)
xfont not initialized !!! initializing with defaults (fixed white)
Internal error: directory does not exist: /usr/local/share/freewrl/fonts
font directory=(null)
No Fonts; check the build parameter --with-fontsdir, or set FREEWRL_FONTS_DIR environment variable
Could not find System Fonts for Text nodes
FreeWRL got a SIGSEGV - can you please mail the file(s) to freewrl-09@rogers.com with a valid subject line. Thanks.
> LD_PRELOAD=/usr/lib64/xulrunner-2.0.1/libmozjs.so freewrl
freewrl: error while loading shared libraries: libmozjs.so.2d: cannot open shared object file: No such file or directory