LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-05-2005, 10:04 PM   #1
DanielTan
Member
 
Registered: Sep 2004
Location: Malaysia
Distribution: FC6, Solaris
Posts: 340

Rep: Reputation: 30
Bind folder problem


When i click the BIND service in services, i get the following error
"named failed. The error was: Starting named: /usr/sbin/named: error while loading shared libraries: libcrypto.so.4: cannot open shared object file: No such file or directory
[FAILED]" . I have found that it is no such directory even reinstalling the bind . Any idea why ? Thanks
 
Old 09-05-2005, 10:19 PM   #2
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
The file libcrypto.so.4 is missing. It's part of libopenssl.
Install libopenssl and then try again.
 
Old 09-06-2005, 11:22 AM   #3
DanielTan
Member
 
Registered: Sep 2004
Location: Malaysia
Distribution: FC6, Solaris
Posts: 340

Original Poster
Rep: Reputation: 30
Hi, how to install libopenssl ? Thanks



Quote:
Originally posted by Snowbat
The file libcrypto.so.4 is missing. It's part of libopenssl.
Install libopenssl and then try again.
 
Old 09-06-2005, 03:10 PM   #4
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
Assuming Fedora Core 3, libopenssl comes in the openssl RPM. Download and install from your distribution media or from a mirror.

eg.

For i386, 486, 586
ftp://mirrors.secsup.org/pub/linux/r...7a-40.i386.rpm

For i686
ftp://mirrors.secsup.org/pub/linux/r...7a-40.i686.rpm

For x86_64
ftp://mirrors.secsup.org//pub/linux/...-40.x86_64.rpm
 
Old 09-06-2005, 06:41 PM   #5
DanielTan
Member
 
Registered: Sep 2004
Location: Malaysia
Distribution: FC6, Solaris
Posts: 340

Original Poster
Rep: Reputation: 30
i just issue command like rpm -v xxx.rpm ? If from my media, i just find that .rpm file and click on it ? in the add/remove program i do not see any libopenssl components.



Quote:
Originally posted by Snowbat
Assuming Fedora Core 3, libopenssl comes in the openssl RPM. Download and install from your distribution media or from a mirror.

eg.

For i386, 486, 586
ftp://mirrors.secsup.org/pub/linux/r...7a-40.i386.rpm

For i686
ftp://mirrors.secsup.org/pub/linux/r...7a-40.i686.rpm

For x86_64
ftp://mirrors.secsup.org//pub/linux/...-40.x86_64.rpm
 
Old 09-06-2005, 09:15 PM   #6
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
For Fedora Core 3 you need to install openssl. It comes with libopenssl, which includes libcrypto.so.4.

Look for openssl in your add/remove programs and install from there.
Alternatively, in a window manager, you can search your distribution, and double-click an RPM to install
Alternatively, if you want to use the command line, rpm -i /path/to/xxxx.rpm will install xxxx.rpm
Alternatively, download it from a mirror and use double-click or use rpm -i as appropriate to install
 
Old 09-07-2005, 12:57 AM   #7
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,398

Rep: Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780Reputation: 2780
Fedora comes with yum install tool that automatically resolves dependencies. I'd recommend logging in as root and trying that, otherwise you can end up in dependency hell.
See
man yum
 
Old 09-07-2005, 09:51 AM   #8
DanielTan
Member
 
Registered: Sep 2004
Location: Malaysia
Distribution: FC6, Solaris
Posts: 340

Original Poster
Rep: Reputation: 30
I ran yum update install, it says no package mark for update /obsoletion. Is it correct ?



Quote:
Originally posted by chrism01
Fedora comes with yum install tool that automatically resolves dependencies. I'd recommend logging in as root and trying that, otherwise you can end up in dependency hell.
See
man yum
 
Old 09-07-2005, 09:55 AM   #9
DanielTan
Member
 
Registered: Sep 2004
Location: Malaysia
Distribution: FC6, Solaris
Posts: 340

Original Poster
Rep: Reputation: 30
When i double click the .rpm, it says package already installed. If i issue rpm -i xxx.rpm and it reported that xxx.rpm conflict with xxx.rpm package in system. Those in my system now is more newer than this file. Btw openssl is in which component of Add/Remove application ? Thanks

Regards
Daniel


Quote:
Originally posted by Snowbat
For Fedora Core 3 you need to install openssl. It comes with libopenssl, which includes libcrypto.so.4.

Look for openssl in your add/remove programs and install from there.
Alternatively, in a window manager, you can search your distribution, and double-click an RPM to install
Alternatively, if you want to use the command line, rpm -i /path/to/xxxx.rpm will install xxxx.rpm
Alternatively, download it from a mirror and use double-click or use rpm -i as appropriate to install
 
Old 09-07-2005, 02:18 PM   #10
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
Maybe you have an older or newer version of openssl already installed.

What is the output of the following commands:
openssl version
ls -l /usr/lib/*crypto*
 
Old 09-12-2005, 11:34 AM   #11
DanielTan
Member
 
Registered: Sep 2004
Location: Malaysia
Distribution: FC6, Solaris
Posts: 340

Original Poster
Rep: Reputation: 30
Hi sorry late reply. Below is the reply from ls- l /usr/lib/*crypto*

[root@mp420 /]# ls -l /usr/lib/*crypto*
-rw-r--r-- 1 root root 1833612 Oct 5 2004 /usr/lib/libcrypto.a
lrwxrwxrwx 1 root root 29 Jun 26 01:38 /usr/lib/libcrypto.so -> ../../lib/ libcrypto.so.0.9.7a
-rw-r--r-- 1 root root 227362 Sep 1 2004 /usr/lib/libk5crypto.a
lrwxrwxrwx 1 root root 18 Jun 26 01:25 /usr/lib/libk5crypto.so -> libk5cry pto.so.3.0
lrwxrwxrwx 1 root root 18 Jun 26 00:34 /usr/lib/libk5crypto.so.3 -> libk5c rypto.so.3.0
-rwxr-xr-x 1 root root 136044 Sep 1 2004 /usr/lib/libk5crypto.so.3.0

If i issue rpm -q openssl ,
openssl-0.9.7a-42.1
openssl-0.9.7a-40

So what seems to be the problem ? Pls advise. Thanks

Regards
Daniel


Quote:
Originally posted by Snowbat
Maybe you have an older or newer version of openssl already installed.


What is the output of the following commands:
openssl version
ls -l /usr/lib/*crypto*
 
Old 09-12-2005, 11:38 AM   #12
DanielTan
Member
 
Registered: Sep 2004
Location: Malaysia
Distribution: FC6, Solaris
Posts: 340

Original Poster
Rep: Reputation: 30
I tried rpm -q libopenssl and it say package is not installed. Any idea why ?

Rgds
Daniel



Quote:
Originally posted by Snowbat
Maybe you have an older or newer version of openssl already installed.

What is the output of the following commands:
openssl version
ls -l /usr/lib/*crypto*
 
Old 09-12-2005, 07:39 PM   #13
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
You have libcrypto installed but it may not be the version that this Bind is expecting, or the Fedora package did not set up a symlink that this Bind is expecting. I've seen that kind of thing before in Mandrake. I can tell you that libcrypto.so.4 should be a symlink to the currently installed libcrypto library but exactly what the .4 signifies and if it refers to a particular libcrypto version, I have no idea. Adding the apparently missing symlink to my currently installed library has always worked for me in the past.

Try the following. If no error, try BIND again:
ln -s /lib/libcrypto.so.0.9.7a /usr/lib/libcrypto.so.4
 
Old 09-12-2005, 11:14 PM   #14
DanielTan
Member
 
Registered: Sep 2004
Location: Malaysia
Distribution: FC6, Solaris
Posts: 340

Original Poster
Rep: Reputation: 30
Hi, what is symlink ? Thanks

Reagrds
Daniel


Quote:
Originally posted by Snowbat
You have libcrypto installed but it may not be the version that this Bind is expecting, or the Fedora package did not set up a symlink that this Bind is expecting. I've seen that kind of thing before in Mandrake. I can tell you that libcrypto.so.4 should be a symlink to the currently installed libcrypto library but exactly what the .4 signifies and if it refers to a particular libcrypto version, I have no idea. Adding the apparently missing symlink to my currently installed library has always worked for me in the past.

Try the following. If no error, try BIND again:
ln -s /lib/libcrypto.so.0.9.7a /usr/lib/libcrypto.so.4
 
Old 09-13-2005, 10:02 AM   #15
DanielTan
Member
 
Registered: Sep 2004
Location: Malaysia
Distribution: FC6, Solaris
Posts: 340

Original Poster
Rep: Reputation: 30
Hi, there is no error message after issue that command, just blank. Is that make symbolic link ? connect the 2 files ?

Regards
Daniel


Quote:
Originally posted by DanielTan
Hi, what is symlink ? Thanks

Reagrds
Daniel
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Folder Max Size and Limiting SSH access to home folder. Mefistofeles Linux - General 4 11-26-2005 02:09 PM
how can i default the max folder file size when it create inside a folder antony_csf Linux - Software 1 06-17-2004 02:26 AM
Bind problem WiWa Linux - Networking 4 06-03-2004 09:53 AM
Firefox XBL Bind/No .phoenix folder Ryknow215 Linux - Software 3 03-24-2004 10:05 PM
problem bind 9.xx Rana Saud Linux - Networking 1 07-15-2003 11:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration