Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Python alternative installation
$ cd /usr/local/src
$ wget
$ 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: cannot open shared object file: No such file or directory
$ echo "/usr/local/lib" | sudo tee /etc/
$ /sbin/ldconfig

This comment has been minimized.

Show comment Hide comment

xuyong3250 Nov 25, 2015

Thank you very much for your code. ^_^

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