RE: Installing openssl 1.0.0a in Ubuntu
Hello Chris, Thanks a lot for your reply! Please see below > > However, when I do openssl version in bash I get 0.9.8k which is > > ubuntu's version and my /usr/lib/libcrypto and libssl links point to > > libcrypto.so.0.9.8 and libssl.so.0.9.8 respectively. I noticed that > > 1.0.0 manual build has not build respective libcrypto.so.1.0.0 and > > libssl.so.1.0.0 files. > > > > How do I make sure that ubuntu is using my /usr/local/ssl 1.0.0 build? > > > > You have 2 main options. You can either re-build to have openssl 1.0 > installed > in the normal directories, or you can set your paths to point to the > /use/local locations first. > That is very useful and is exactly what I was thinking the solution would be! > to build and install in the normal places use: > > ./config --prefix=/usr/ --openssldir=/etc/ssl shared > make > make install > > To set your path to use /usr/local try: > > export PATH=/usr/local/bin:$PATH > export LD_LIBRARY_PATH=/usr/local/lib > > Keep in mind that installing 1.0.0 in the normal locations may break > other > applications that expect 0.9.8 data files. Also programs linked with > 0.9.8 > libraries will have to be rebuilt to use the 1.0.0 libraries since the > major > version number has changed. I avoided installing in the default path in the first place, to avoid all the fuss above. So, I would go for the second option (setting my paths) so that I won't have to recompile the quite a few ubuntu packets (46 actually) that are build against 0.9.8k. I hope it goes well! FYI, I found out that in ubuntu versions > 9.04 you cannot any more set the LD_LIBRARY_PATH but you have to create a conf file with your path in /etc/ld.so.conf.d/. > > Let's hope debian or ubuntu packages 1.0.0 soon. Fingers crossed;-) Thanks again, Panos Ps. I pinged ubuntu for this as well and I really do hope that they will move to 1.0.0 soon as it has been released 5.5 months ago! __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager majord...@openssl.org
Re: Installing openssl 1.0.0a in Ubuntu
> However, when I do openssl version in bash I get 0.9.8k which is ubuntu's > version and my /usr/lib/libcrypto and libssl links point to > libcrypto.so.0.9.8 and libssl.so.0.9.8 respectively. I noticed that 1.0.0 > manual build has not build respective libcrypto.so.1.0.0 and libssl.so.1.0.0 > files. > > How do I make sure that ubuntu is using my /usr/local/ssl > 1.0.0 build? > You have 2 main options. You can either re-build to have openssl 1.0 installed in the normal directories, or you can set your paths to point to the /use/local locations first. to build and install in the normal places use: ./config --prefix=/usr/ --openssldir=/etc/ssl shared make make install To set your path to use /usr/local try: export PATH=/usr/local/bin:$PATH export LD_LIBRARY_PATH=/usr/local/lib Keep in mind that installing 1.0.0 in the normal locations may break other applications that expect 0.9.8 data files. Also programs linked with 0.9.8 libraries will have to be rebuilt to use the 1.0.0 libraries since the major version number has changed. Let's hope debian or ubuntu packages 1.0.0 soon. -- Chris Bare ch...@bareflix.com __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager majord...@openssl.org
Installing openssl 1.0.0a in Ubuntu
Hello all, I am having 10.04 ubuntu machines that come with openssl 0.9.8k. In my freeRadius, hostapd and wpa_supplicant setup I would like to use openssl 1.0.0a. Since that is not available in ubuntu's repository, I downloaded it from openssl.org and build it just fine (./config, make, make test and make install according to INSTALL file finished successfully). However, when I do openssl version in bash I get 0.9.8k which is ubuntu's version and my /usr/lib/libcrypto and libssl links point to libcrypto.so.0.9.8 and libssl.so.0.9.8 respectively. I noticed that 1.0.0 manual build has not build respective libcrypto.so.1.0.0 and libssl.so.1.0.0 files. How do I make sure that ubuntu is using my /usr/local/ssl 1.0.0 build? Thanks a lot in advance, Panos