[Python-de] Python Test schlägt fehl in configure Skript
Malte Gell
malte.gell at gmail.com
Fr Jan 25 16:16:57 CET 2013
Am 25.01.2013 00:04, schrieb Berthold Höllmann:
> Malte Gell <malte.gell at gmail.com> writes:
>
>> Am 24.01.2013 08:44, schrieb Rüdiger Ranft:
>>
>>> Wenn dies geht, libpython2.7:
>>>
>>> cat <<EOF > bar.c
>>> #include <Python.h>
>>>
>>> int main()
>>> {
>>> Py_Initialize();
>>> return 0;
>>> }
>>> EOF
>>> gcc -I/usr/include/python2.7 bar.c -lpython2.7
>>
>> Ergänzung zur Mail von eben:
>>
>> Wenn ich ein ldd auf libpython2.7 mache, dann sind aber alle libs vorhanden:
>>
>> ldd /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libpython2.7.so
>>
>> ldd: warning: you do not have execution permission for
>> `/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libpython2.7.so'
>> linux-vdso.so.1 (0x00007fff237ff000)
>> /opt/lib/libmediaclient.so (0x00007fe172de6000)
>> libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fe172b4e000)
>> libdl.so.2 => /lib64/libdl.so.2 (0x00007fe17294a000)
>> libutil.so.1 => /lib64/libutil.so.1 (0x00007fe172747000)
>> libm.so.6 => /lib64/libm.so.6 (0x00007fe17244f000)
>> libc.so.6 => /lib64/libc.so.6 (0x00007fe1720aa000)
>> librt.so.1 => /lib64/librt.so.1 (0x00007fe171ea2000)
>> /lib64/ld-linux-x86-64.so.2 (0x00007fe173395000)
>>
>> Wieso kann ich dann deinen Beispielcode nicht übersetzen, wenn die libs
>> alle da sind?
>
> Weil du "-devel" Pakete zu den Bibliotheken installieren musst.
Ergänzung: ich habe natürlich auch alle Python2.7 devel Pakete
installiert. Insgesamt habe ich über 1600 devel Pakete installiert,
komplette Liste hier: http://pastebin.com/CMdemtA5
Da dürfte nichts fehlen. Ich werd noch verrückt...
Gruß
Malte
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname : signature.asc
Dateityp : application/pgp-signature
Dateigröße : 381 bytes
Beschreibung: OpenPGP digital signature
URL : <http://mail.python.org/pipermail/python-de/attachments/20130125/42d3fa75/attachment.pgp>
Mehr Informationen über die Mailingliste python-de