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 List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to