Hi, David Haller schrieb:
=========================================================
Traceback (most recent call last): File "/usr/share/virt-manager/virt-manager.py", line 414, [..] ImportError: /usr/lib64/python2.6/site-packages/gtk-2.0/gconf.so: undefined symbol: g_malloc_n
======================================================== [..] Google hat mir gesagt, daß die Funktion g_malloc_n von der glib zur Verfügung gestellt wird
Jep. Glib verwendet generell 'g_' am Anfang.
pc56846:~ # nm /usr/lib64/libglib-2.0.so.0.2200.5 nm: /usr/lib64/libglib-2.0.so.0.2200.5: no symbols
Heißt das, das meine glib überhaupt keine Funktionen zur Verfügung stellt ?
Wurde gestrippt (siehe 'man strip'). Du kannst dennoch gucken:
welchen Sinn macht strip ? Ich möchte doch, das die Symbole genutzt werden .
$ strings /usr/lib64/libglib-2.0.so.0.3200.1 | grep g_malloc g_malloc g_malloc0 g_malloc0_n g_malloc_n
Was dir fehlt sind vermutlich die python glib-bindings:
$ strings /usr/lib64/python2.7/site-packages/glib/_glib.so |grep g_malloc g_malloc_n g_malloc0_n
ich finde g_malloc_n leider nicht: pc56846:~ # strings /usr/lib64/python2.6/site-packages/gtk-2.0/glib/_glib.so|grep g_malloc g_malloc g_malloc0 pc56846:~ # strings /usr/lib64/libglib-2.0.so.0.2200.5 |grep g_malloc g_malloc g_malloc0
$ rpm -qf /usr/lib64/python2.7/site-packages/glib/_glib.so python-gobject2-2.28.6-9.1.3.x86_64
Und ja, wenn python-gconf nicht python-gobject verlangt ist das ein Bug beim Paketieren. Wenn du allerdings mehrere Python-Versionen installiert hast kann da was durcheinander kommen. Guck dir mal
$ rpm -q --requires python-gconf und $ rpm -q --provides python-gobject an.
pc56846:~ # rpm -q --requires python-gconf-2.28.1-14.11 python-gobject2 libgobject-2.0.so.0()(64bit) ... rpm -q --provides python-gobject2-2.20.0-1.1.56 _gio.so()(64bit) _glib.so()(64bit) ... Wenn das in "requires" steht, dann müßte rpm auch meckern, wenn etwas fehlt. Oder ? IIRC, habe ich nur eine python-Version installiert: pc56846:~ # rpm -qa |grep python python-2.6.0-8.9.28 apache2-mod_python-3.3.1-147.19 python-gobject2-2.20.0-1.1.56 python-orbit-2.14.3-137.26 python-gtk-2.16.0-1.1.251 python-gnome-2.22.0-67.32 python-cairo-1.6.4-1.33 libvirt-python-0.7.6-1.31.7 rpm-python-4.4.2.3-37.16.11 dbus-1-python-0.83.0-27.1.43 python-gtk-vnc-0.3.9-1.1.215 python-gconf-2.28.1-14.11 libpython2_6-1_0-2.6.0-8.9.20 python-xml-2.6.0-8.9.20 python-satsolver-0.14.17-0.2.18 yast2-python-bindings-2.17.4-1.27 python-curl-7.19.0-5.2.1.2 python-base-2.6.0-8.9.20 python-urlgrabber-3.9.1-0.1.2 python-selinux-2.0.91-4.2.1 libxml2-python-2.7.6-0.1.36 python-tk-2.6.0-8.9.28 python-numpy-1.3.0-1.1.42 python-numeric-24.2-195.17 Scheint nur 2.6.0-8.9.28 zu sein. Wie kann ich denn generell rausfinden, welche library mir das gewünschte Symbol zur Verfügung stellt ? Noch mal zum Verständnis: Es kann also sein, daß eine Software ein best. Symbol (und damit eine best. library) benötigt, diese beim Installieren als fehlende Abhängigkeit allerdings nicht anmeckert, obwohl die library fehlt ? Bernd Helmholtz Zentrum München Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH) Ingolstädter Landstr. 1 85764 Neuherberg www.helmholtz-muenchen.de Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe Geschäftsführer: Prof. Dr. Günther Wess und Dr. Nikolaus Blum Registergericht: Amtsgericht München HRB 6466 USt-IdNr: DE 129521671 -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um den Listen Administrator zu erreichen, schicken Sie eine Mail an: opensuse-de+owner@opensuse.org