DeveloperSide.NET Forums
July 19, 2019, 03:53:36 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: OpenSSL  (Read 11256 times)
0 Members and 1 Guest are viewing this topic.
Glet
Member
*
Posts: 3

Metatropolis7
View Profile
« on: August 28, 2003, 12:01:56 PM »

I make install witn no error woo00!! now I put /usr/local/ssl/lib in /etc/ld.so.conf and then typed ldconfig then edited /root/.bash.profile and put /usr/local/ssl/bin in it does this look right??
 



if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi



PATH=$PATH:/usr/local/ssl/bin:$HOME/bin
BASH_ENV=$HOME/.bashrc
USERNAME="root"

export USERNAME BASH_ENV PATH


I type openssl version and I still get the old OpenSSL 0.9.6b [engine] 9 Jul 2001
but when i goto /usr/local/ssl/bin]# ./openssl version it works!!

Ive even tried putting libcrypto.so.0.9.7 and libssl.so.0.9.7 in /lib??

and when i type which openssl i get "/usr/bin/openssl"

CAn someone please help me
 :shock:  :shock:  :shock:
Logged
Glet
Member
*
Posts: 3

Metatropolis7
View Profile
« Reply #1 on: August 28, 2003, 12:22:51 PM »

I went into /lib and deleted the lib files that had to do with the old openssl and then copyed the new ones to /lib then I deleted the old openssl from /usr/bin and then cp'ed the new one to /usr/bin :P ? Will this work or am I leaving things out??
Logged
Anonymous
Guest
« Reply #2 on: August 28, 2003, 06:10:11 PM »

PATH=$PATH:/usr/local/ssl/bin:$HOME/bin

You should have just put "/usr/local/ssl/bin" first, and then $PATH after that.

As you had it, usr/bin was searched first for openssl, /usr/local/ssl/bin was last.
Logged
guessx
Guest
« Reply #3 on: September 28, 2003, 04:44:39 AM »

i got this problems too

You mean correct to

PATH=/usr/local/ssl/bin$PATH:$HOME/bin  ?


and i tried it b4

PATH=$PATH:$HOME/usr/local/ssl/bin

then logout..
login root
i type any thing got error
like    -bash xxxxxxxxxxxxxx
i just reinstall the linux...............
Logged
Anonymous
Guest
« Reply #4 on: September 28, 2003, 04:42:42 PM »

What the hell are you people doing???

Edit /root/.bash_profile

dont comment or delete anything out, dont delete old files

dont do ANYTHING except at the very end, but right before the 'export ... PATH' statement add this line

PATH=/usr/local/ssl/bin:$PATH
Logged
Anonymous
Guest
« Reply #5 on: September 28, 2003, 04:46:22 PM »

Quote

What the hell are you people doing???

Edit /root/.bash_profile

dont comment or delete anything out, dont delete old files

dont do ANYTHING except at the very end, but right before the 'export ... PATH' statement add this line

PATH=/usr/local/ssl/bin:$PATH


And just to clarify, this PATH statement should be the last PATH statement in that file.

So it would be just like I said, than the next line will be "export blah blah PATH blah"

All this does is, put /usr/local/ssl/bin at the very beigining of the PATH.

Than relogin.

Type 'which openssl'
Logged
Anonymous
Guest
« Reply #6 on: September 28, 2003, 06:14:00 PM »

Thx a lot
i am new hand!!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!