LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-08-2005, 09:55 AM   #1
dh233
LQ Newbie
 
Registered: Aug 2005
Posts: 2

Rep: Reputation: 0
libcrypto.so.0.9.7


I have a problem with libcrypto.so.0.9.7. When I was trying to restart my apache it said the following:

libcrypto.so.0.9.7: cannot enable executable stack as shared object requires: Bad address.

I know that the libcrypto.so.0.9.7 is in the /usr/lib/ directory.

My ssh doesnt work too:

error while loading shared libraries: libcrypto.so.0.9.7: cannot enable executable stack as shared object requires: Error 14

Any ideas??


Thanks in advance

dh233
 
Old 08-08-2005, 10:54 AM   #2
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
look like there is something wrong about your SSL. Was it working before? If so, have you done something recently that could have caused this? Update or some change in config files? Be very careful with SSL, if you get rooted, it will most likely be the first thing that will broke.

In any case, I think reinstaling Open SSL package of your distro would probably fic this... but make sure the broke haven't been caused by an attack against your server.
 
Old 08-08-2005, 11:32 AM   #3
dh233
LQ Newbie
 
Registered: Aug 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for your suggestion but I tried to do so already but it did not work. Any other solutions???
 
Old 08-10-2005, 11:02 PM   #4
Superbiskit
LQ Newbie
 
Registered: Oct 2004
Location: New England, USA
Distribution: Debian -- If I can ever get it configured
Posts: 2

Rep: Reputation: 0
Exclamation Executable Stack problem

I'm in the middle of the same problem. But I found a probable answer by googling on the Debian site. A "recent" -- by Debian standards -- update to glibc causes this. It is because the critical library requires kernel support that it doesn't check for during installation.

For Debian, the solution is a kernel from 2.4.27/"Sarge" -- the "Woody" kernels don't support whatever the library needs to do. I suppose, alternatively, you can drop back to a glibc that predates this function. But dam' near everything uses that library, so downgrading it is a seriously risky step.

Now, if someone could point out a way to have a different glibc depending on the kernel (uname -r). I mess about a lot with symlinks for different kernels, but I'm not sure I want to risk a broken glibc again -- I'm just recovering from my last fiasco.
 
Old 08-18-2005, 06:32 AM   #5
rom_1
LQ Newbie
 
Registered: Aug 2005
Location: So far in France, soon in Dresden (Germany)
Posts: 2

Rep: Reputation: 0
Quote:
But dam' near everything uses that library, so downgrading it is a seriously risky step.
Among others, libcrypto is used by OpenSSH, PHP (so Apache can't start) and postgres. Quite critical for a web server...

Could you please precise the solution you have fuond ? Is just compiling a newer kernel sufficient to avoid the crash ?
Could a 2.6 kernel be fit ?

Thx !!
 
Old 09-16-2005, 07:42 AM   #6
toxygen
LQ Newbie
 
Registered: Sep 2005
Posts: 1

Rep: Reputation: 0
do following:
apt-get install prelink

execstack -c /usr/lib/libcrypto.so.0.9.7

and execstack -c every library you get error about stack with. everything should work ok.
 
  


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
Libcrypto? johnnydangerous Fedora 4 02-09-2005 10:42 AM
Ethereal and Libcrypto Permaximus Linux - Newbie 2 12-03-2004 12:16 PM
libcrypto.so.4 conflicts with libcrypto.so.2 for hp driver sid_datta Linux - Newbie 0 07-25-2003 06:06 AM
Where can I get libcrypto.so.4? WorldBuilder Linux - Software 3 07-18-2003 09:14 PM
libcrypto and libssl thanko Linux - Software 2 03-13-2002 11:16 AM

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

All times are GMT -5. The time now is 12:17 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