Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Python alternative installation
$ cd /usr/local/src
$ wget http://www.python.org/ftp/python/3.4.0/Python-3.4.0b2.tgz
$ tar -xzf Python-3.4.0b2.tgz Python-3.4.0b2
$ cd Python-3.4.0b2
$ ./configure --enable-shared --prefix=/usr/local
$ make
$ make altinstall
$ python3.4
/usr/local/bin/python3.4: error while loading shared libraries: libpython3.4m.so.1.0: cannot open shared object file: No such file or directory
$ echo "/usr/local/lib" | sudo tee /etc/ld.so.conf
$ /sbin/ldconfig

Thank you very much for your code. ^_^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment