|
From: Yann G. <ygo...@is...> - 2012-06-01 12:00:35
|
We found what the problem was.
If you have the mesa package installed, all the libraries will be
installed in /usr/lib64. If you install the nvidia package of old, the
libraries will be installed in the same /usr/lib64. Thus libGL.so would
either the mesa one or the nvidia one depending on the order of
installation.
VPython is looking for libGL.so. In my case, it was finding the one in
/usr/lib64/ (the mesa one). This one does not support the right call
hence the segmentation fault. To fix it, just pointing it to the right
library worked. In command line parlance:
$ cd /usr/lib64
$ sudo mv libGL.so.1.2 MESA_libGL.so.1.2
$ sudo ldconfig
$ sudo ln -si nvidia/libGL.so.1 libGL.so
$ ipython
In [1]: from visual import *
In [2]: s = sphere()
[... Sphere appears ...]
--
GPG Fingerprint 8666 7F9A 17E7 AC8E CC36 1D1E C707 D658 6685 2528
The views expressed in this e-mail may or may not reflect those of the
author and do not necessarily reflect those of Isotek Oil and Gas Ltd.
|