DeveloperSide.NET Forums
July 24, 2019, 12:42:52 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Building OpenSSL 0.9.8 for Linux  (Read 19956 times)
0 Members and 1 Guest are viewing this topic.
dianer
Member
*
Posts: 6


View Profile
« on: February 27, 2006, 09:05:41 PM »

Update the Run-time Linkerld.so.cache will need to be updated with the location of the new OpenSSL shared libs: libcrypto.so.0.9.8 and libssl.so.0.9.8

Sometimes it is sufficient to just add these two files to /lib, but we recommend you follow these instructions instead.

Edit /etc/ld.so.conf
Add /usr/local/ssl/lib to the bottom.
...]# ldconfig


Update the PATHEdit /root/.bash_profile
Add /usr/local/ssl/bin to the PATH variable.
Re-login
Testing...]# openssl version
Should display OpenSSL 0.9.8 05 Jul 2005
If an older version is shown, your system contains a previously installed OpenSSL.
Repeate the steps in Update the PATH, except place the specified location at the start of the PATH variable.
[the older openssl, on most systems, is located under /usr/bin]
[the command 'which openssl' should display the path of the openssl that your system is using]
/usr/local/ssl/bin]# ./openssl version should display the correct version.

When we did the update run time link and opened the file to edit, there was nothing in there, we typed in what the instructions told us to do.
We then went to the next step and did the same, again, there was nothing in the file so we just put in what the instructions told us to.
When we went to check the version, we got an invalid command message.
Logged
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #1 on: February 27, 2006, 09:40:58 PM »

So when you change directory to /usr/local/ssl/bin and type...
./openssl version

What happens?

Also type...
locate openssl
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
dianer
Member
*
Posts: 6


View Profile
« Reply #2 on: February 28, 2006, 01:11:23 AM »

Quote from: "admin"
So when you change directory to /usr/local/ssl/bin and type...
./openssl version

What happens?

Also type...
locate openssl


When I change directory and type ./openssl version it gives the correct version.

When i type locate openssl i get the message locate: /var/cache/locate/locatedb: No such file or directory

this is exactly what i get from the shell:
Quote

Last login: Mon Feb 27 20:03:09 2006 from 192.168.1.2
-bash: /usr/local/ssl/bin: is a directory
root@debian:~# cd /usr/local/ssl/bin
root@debian:/usr/local/ssl/bin# ./openssl version
OpenSSL 0.9.8 05 Jul 2005
root@debian:/usr/local/ssl/bin# locate openssl
locate: /var/cache/locate/locatedb: No such file or directory
root@debian:/usr/local/ssl/bin# cd
root@debian:~# locate openssl
locate: /var/cache/locate/locatedb: No such file or directory
root@debian:~#
Logged
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #3 on: February 28, 2006, 02:28:23 AM »

You need to figure out where you can edit the path under your shell, and add the openssl bin dir if you really need it under the path.

Otherwise, everything is installed correctly.

BTW, I would think that Debain would have an openssl package that you could install.  Why are you doing it this way?
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
dianer
Member
*
Posts: 6


View Profile
« Reply #4 on: February 28, 2006, 02:45:48 AM »

Quote from: "admin"
You need to figure out where you can edit the path under your shell, and add the openssl bin dir if you really need it under the path.

Otherwise, everything is installed correctly.

BTW, I would think that Debain would have an openssl package that you could install.  Why are you doing it this way?


Because I'm following the directions from your tutorial. You said, "if you really need it under the path" am I correct in assuming that it doesn't need to be changed?
Logged
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #5 on: February 28, 2006, 05:54:10 PM »

You do not need to update the path if you do not want to. OpenSSL is installed either way.
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
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!