Re: segmentation fault on Fedora 16.
Yann Golanski <ygolanski-hnK7fAIlAj/[email protected]> Fri, 1 Jun 2012 13:00:28 +0100
| Newsgroups | gmane.comp.python.visualpython.user |
|---|---|
| Message-ID | <[email protected]> |
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.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Visualpython-users mailing list
Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/visualpython-users
signature.asc
(application/pgp-signature, 490 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBAgAGBQJPyK7cAAoJEMcH1lhmhSUoASgH/0B3HFvDDuK2Z+D0uP8+3DAj /Zdb5rx3BiyZ/D+b63njWSUKc0YCod51MQtQ8wt5SXvTAaXcGR27dd9AnugyXKGw zYP/j2v8QY3LcIbOxjb7UgXwLLZMRAVDCxfV6Yek9MVLBd5ISfG1TF0SDLtGHVbX APG2nOaeE3XsLm9Unvw38Zs4IpVw65JbeTTv5+s+eSPMUDE5ObLNs5ddrgjA+vPQ d6xRje3cNJXvRxXq4983bvmIwovYXvWIuCU+CDaSKkp8hNesqAOCuJ75vG+Hz3X7 +hs61BFIfa88+ajCsu5S3bXgpc98ZXeXpgd0tPoq1l0Hv0BbpP/yA6P00F3EwM0= =LldG -----END PGP SIGNATURE-----