LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-01-2005, 01:23 PM   #1
Harry Seldon
Member
 
Registered: Feb 2004
Distribution: SLES 9
Posts: 112

Rep: Reputation: 15
cups Printing Service Fails to Start


I'm trying to get my Mississippi servers online after the big storm and I've run across a problem getting cups to start. Apparently, we have a printer no one knows anything about attached to a Redhat Linux 7.x server. About half the office is using it. When the server came back up, I got the following error in the syslog:

Starting cupsd: cupsd: error while loading shared libraries: libssl.so.2: cannot load shared object file: No such file or directory

I did a search on the drive to make sure a link didn't get crossed but it was nowhere to be found. I did some looking around and found that I should just install openssl again and it should install the file. I compiled 0.9.8 from source but couldn't get it installed. I went back and got 0.9.7g and installed it then tried to restart cups. Same error. A hard drive search showed the libssl.so.2 file wasn't on the system. I found another article saying that I should try sticking with the rpm designed for the platform. I managed to hunt down openssl-0.9.6-19.i386.rpm and force it to install over itself. Still no libssl.so.2 file. I looked at downloading the glibc package just on the wild chance that it would contain the file in question but a search of the contained files didn't turn it up so I held off.

How can I get this file onto my system? I don't use cups anywhere else in our network so I can't find a file to pull from another server. Is there an option I need to add when compiling the openssl source that triggers this file install that I'm missing? Any help would be greatly appreciated.
 
Old 09-01-2005, 01:29 PM   #2
Harry Seldon
Member
 
Registered: Feb 2004
Distribution: SLES 9
Posts: 112

Original Poster
Rep: Reputation: 15
I forgot to post my uname -a output, if you want it. Always better to overinform than under, right?

Linux servername 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown
 
Old 09-01-2005, 04:04 PM   #3
Harry Seldon
Member
 
Registered: Feb 2004
Distribution: SLES 9
Posts: 112

Original Poster
Rep: Reputation: 15
I managed to figure this one out. It looks like cups requires two files from openssl to operate: libssl.so.2 and libcrypto.so.2. openssl installs two files that combine the functionality of these libraries into single files, called: libcrypto.so.0.9.6 and libssl.so.0.9.6. You just have to create symbolic links to the files in the /usr/bin directory and give the link names the files cups are looking for.

cd /usr/bin
ln -s ./libssl.so.0.9.6 ./libssl.so.2
ln -s ./libcrypto.so.0.9.6 ./libcrypto.so.2

I still don't know how it got scrambled to begin with but here's how you fix it.
 
  


Reply



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
when i try to start samba pdc's smb service nmbd failed to start . sandeepchau123 Linux - Newbie 2 10-20-2007 01:59 PM
Printing Problem (cups / cups-lpd) daleman Linux - Software 3 04-08-2005 08:01 AM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM
Slackware 9 and CUPS (CUPS=crap) - printing carboncopy Slackware 21 07-29-2003 03:27 PM
squid service fails to stop farhan Linux - Networking 1 03-09-2003 08:12 PM

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

All times are GMT -5. The time now is 07:34 AM.

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