LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-08-2004, 03:36 AM   #1
ppy
LQ Newbie
 
Registered: Nov 2004
Location: India,Bangalore
Posts: 5

Rep: Reputation: 0
Error in bash shell


Hello,
I am using the bash shell 3.0b(1)

when i run $bash
i get the following error :
error while loading shared libraries : libreadline.so.5 : cannot open shared object file : Permission denied

Output of ldd /bin/bash was :
libreadline.so.5 => /usr/lib/libreadline.so.5 (0x40018000)
libhistory.so.5 => /usr/lib/libhistory.so.5 (0x40046000)
libncurses.so.5 => /usr/lib/libncurses.so.5 (0x4004e000)
libdl.so.2 => /lib/libdl.so.2 (0x40091000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40094000)
libc.so.6 => /lib/libc.so.6 (0x4009d000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

perms of /usr/lib/libreadline* = 777


Can anybody point the error ?

I am using my own build .

Regards,
PPY
 
Old 11-08-2004, 09:53 AM   #2
jim mcnamara
Member
 
Registered: May 2002
Posts: 964

Rep: Reputation: 36
Does readline reference something else you don't have permissions for?

Try ldd on /usr/lib/libreadline.so.5
 
Old 11-10-2004, 12:35 AM   #3
karlan
Member
 
Registered: Aug 2003
Location: San Francisco, California
Distribution: Slackware
Posts: 158

Rep: Reputation: 30
try running from root, and go from there
 
  


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
pesky bash shell error every time I log in illiniguy3043 Linux - Newbie 1 06-12-2004 01:54 PM
What is Bash shell? xailer Linux - Newbie 4 11-23-2003 09:29 AM
Bash Shell triplem Linux - Software 4 04-17-2003 05:11 PM
Bash shell triplem Linux - Software 1 04-14-2003 08:01 AM
Help!!!!! Bash Shell???? DarkHorse Linux - Newbie 7 06-04-2001 12:13 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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