Last active
October 3, 2016 20:45
-
-
Save paolodina/60856edeb9884bc323a7 to your computer and use it in GitHub Desktop.
pip install bcrypt on Webfaction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~/tmp/ | |
wget ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz | |
tar zxf libffi-3.2.1.tar.gz | |
cd ~/tmp/libffi-3.2.1 | |
./configure --prefix=/home/user/tmp/libffi | |
make | |
make install | |
PKG_CONFIG_PATH=/home/user/tmp/libffi/lib/pkgconfig/ LD_LIBRARY_PATH=/home/user/tmp/libffi/lib/ pip install bcrypt | |
Finally add LD_LIBRARY_PATH information to Apache's start script (located in /home/user/webapps/foobar/apache2/bin) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Had to use lib64 instead of lib
And adding the path to apache's scripts did not work, although adding libffi.so.6 to app/apache2/lib did it.