2010-04-07 5 views
0

il est normalement construit avec python 2.5 MAIS j'ai besoin de 2.6! 2.6 normalement installé dans/opt/python26 et exécuté avec succès en tant que python2.6 dans la console.Peut compiler uwsgi sous centos (fc10) avec python2.6

mais

python2.6 uwsgiconfig.py --build 

me donner

*** uWSGI linking *** 
/usr/bin/ld: cannot find -lpython2.6 
collect2: ld returned 1 exit status 

AIDE!

Répondre

1

Essayez:

LD_LIBRARY_PATH="/somepath/" python2.6 uwsgiconfig.py --build 

somepath est le chemin de votre fichier libpython2.6.so.x.

Mettez à jour votre fichier /etc/ld.so.conf et ajoutez le chemin d'accès aux bibliothèques et exécutez ldconfig.

0

Modifiez uwsgiconfig.py et définissez PYLIB_PATH sur le chemin du répertoire python lib.

Questions connexes