Ask Your Question
1

Sage cannot find openssl during compilation although it is installed

asked 2012-09-17 19:29:23 +0100

Aleksey_R gravatar image

I try to compile Sage-5.3 from sources on OpenSuse 12.2 64 bit. After 'make' I get:

checking for SSL_library_init in -lssl... no

configure: The OpenSSL library is required to build the Sage Notebook.

configure: You might need to execute one of the following (or the equivalent for your

configure: operating system):

configure: sudo apt-get install libssl-dev

configure: sudo yum install openssl-devel

configure: error: Exiting, since the OpenSSL library was not found.

You do not have all of the prerequisites needed to build Sage

from source. See the errors above.

If you would like to try the build anyway (to help porting)

On my system I have:

libgnutls-openssl-devel gnutls libgnutls-openssl27 libopenssl-devel libopenssl-devel-32bit libopenssl0_9_8 libopenssl0_9_8-32bit libopenssl1_0_0 libopenssl1_0_0-32bit openssl

installed.

Please, help me compile sage.

Best regards, Aleksey.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-09-17 22:56:47 +0100

The following should work, I think. From the command line, from the main Sage directory, run

$ ./sage -i patch
$ ./sage -i openssl
$ make

The second line requires an internet connection.

Future versions of Sage won't have this issue; you could instead get a beta version of Sage 5.4, for example from here (tar file). It won't require OpenSSL.

edit flag offensive delete link more

Comments

Thanks a lot! These commands helped!

Aleksey_R gravatar imageAleksey_R ( 2012-09-18 08:28:37 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-09-17 19:29:23 +0100

Seen: 896 times

Last updated: Sep 17 '12