Bonjour a tous,
Voila je veux installer pymedia pour python2.5.1 sur fedora core 8 x86-64.
J'ai recupere pymedia-1.3.7.3
et voila mon message d'erreur :
python setup.py install
Using UNIX configuration...
OGG : found
VORBIS : found
FAAD : found
MP3LAME : found
VORBISENC : found
ALSA : found
Continue building pymedia ? [Y,n]:Y
running install
running build
running build_py
running build_ext
building 'pymedia.audio.sound' extension
g++ -pthread -shared build/temp.linux-x86_64-2.5/sound/sound.o build/temp.linux-x86_64-2.5/sound/resample.o build/temp.linux-x86_64-2.5/sound/fft.o -L/usr/lib64 -L/usr/lib64 -L/usr/local/lib -L/usr/local/lib -L/usr/lib64 -L/usr/lib64 -L/usr/lib64 -logg -lvorbis -lfaad -lmp3lame -lvorbisenc -lasound -lpython2.5 -o build/lib.linux-x86_64-2.5/pymedia/audio/sound.so
/usr/bin/ld: build/temp.linux-x86_64-2.5/sound/sound.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
build/temp.linux-x86_64-2.5/sound/sound.o: could not read symbols: Bad value
collect2: ld a retourné 1 code d'état d'exécution
error: command 'g++' failed with exit status 1
J'ai mis en commentaire dans le setup.py
# disable_fPIC()
cela ne change rien.
Si vous avez une idee.... merci beaucoup
Partager