Re: wxPython Phoenix build fail ("Could not build python extensions"?) in pyenv 3.5.1 on Linux

Michael Freeman <[email protected]>
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
Plus ... https://github.com/yyuu/pyenv/issues/65#issuecomment-26925720

"I found a better way to do it that doesn't depend on pyenv setting 
LD_LIBRARY_PATH:

PYTHON_CONFIGURE_OPTS='--enable-shared' 
LDFLAGS="-Wl,-rpath=$HOME/.pyenv/versions/2.7.5/lib" pyenv install 2.7.5

This will add the the python lib directory to the rpath of the python 
executable. The rpath is searched before LD_LIBRARY_PATH and ld.conf.so, so 
there's no way pyenv's installed python will try to load the system's 
libpython which may be of a different version."


So it could be another config option for penv, but it's late here now and I 
need a beer ;)

-- 
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.