LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-11-2009, 04:57 AM   #1
brian_silver
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Rep: Reputation: 0
can't find library libextrabash


Hi!

Since ths morning, each time I type a command in my shell (bash), I get the following error message:

"error while loading shared libraries: libextrabash1.3.so.1.0: cannot open shared object file: No such file or directory"

It happens with external programs (such as mozilla) but also with built-in commands like cd.

I work with RHEL5.

I suspect an issue in bash itself.

I googled "libextrabash" but could not find anything...

I am completely stuck!

Can anyone help me because I really would like to avoid reinstalling Linux.

Thank you guys.

Brian
 
Old 06-11-2009, 05:35 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
Indeed google does not return any result. What is the output of the following?
Code:
ldd /bin/bash
 
Old 06-12-2009, 07:56 AM   #3
brian_silver
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Original Poster
Rep: Reputation: 0
unfortunatly I get the same error:

$ ldd /bin/bash
ldd: error while loading shared libraries: libextrabash1.3.so.1.0: cannot open shared object file: No such file or directory
 
Old 06-12-2009, 08:01 AM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
Since there is no reference in Google, except this thread, it is very difficult to find out what is the problem here. What if you try to reinstall the bash package? Just a guess.

Can you run this command?
Code:
rpm -V bash
Also, does it happen for root or for your normal user only?
 
Old 06-12-2009, 08:05 AM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389
Hi,

Interesting problem.....

Could your box be compromised?

What does file /bin/bash tell you.
 
Old 06-12-2009, 08:15 AM   #6
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
Quote:
Originally Posted by druuna View Post
Could your box be compromised?
I have the same suspect.....
 
Old 06-12-2009, 08:21 AM   #7
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by druuna View Post
Hi,

Interesting problem.....

Could your box be compromised?

What does file /bin/bash tell you.
Maybe that command needs to be run from a different shell (sh or tcsh) or else the OP will get the same libextrabash error. Just a thought.
cheers,
jdk
 
Old 06-12-2009, 08:37 AM   #8
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389
Hi,

Quote:
Maybe that command needs to be run from a different shell (sh or tcsh) or else the OP will get the same libextrabash error. Just a thought.
True.

The use of a liveCD comes to mind. It will enable the OP to (after mounting the FS's) check logs, run (CD) commands on certain files, log in using a different shell etc.
 
Old 06-15-2009, 12:39 AM   #9
brian_silver
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Original Poster
Rep: Reputation: 0
I solved my problem.

I invited my friends Jean-François, Rodolphe, Benoît, Roland and Julien to the pub and everything works fine again.

I suspect a joke from one of them
 
Old 06-15-2009, 03:44 AM   #10
brian_silver
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Original Poster
Rep: Reputation: 0
post is now CLOSED

Thank you everybody
 
Old 06-15-2009, 03:48 AM   #11
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389
Hi,

I (we) like to know what was done to your box to get this behaviour......
 
Old 06-15-2009, 11:15 AM   #12
brian_silver
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Original Poster
Rep: Reputation: 0
they just modified my bashrc

they set up an infinite loop that display prompt, read a command and display an error message (the loop imitates the shell)
and also trapped all signals so that I could not break out of the loop.

Thank you all for your help and sorry it turned out it was only a joke.
 
  


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
install from source - unable to find the libcurl library - but library is installed pulper Linux - Newbie 2 02-23-2009 09:00 PM
Easytag can't find library chungaroo Linux - Software 4 02-13-2007 03:31 PM
cant find a library alaios Linux - Software 2 01-31-2006 04:05 PM
cant find library buffed317 Linux - Software 5 02-21-2005 09:32 PM
How To Find Out What A Library Does? nysb Linux - Software 1 05-27-2004 10:46 AM


All times are GMT -5. The time now is 04:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration