LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-11-2017, 10:23 AM   #1
confusedlinuxuser
LQ Newbie
 
Registered: Jul 2017
Posts: 4

Rep: Reputation: Disabled
Library .so refuses to load even though it's listed in ldconfig -v


This is a head scratcher.

Below is the output of ldconfig -p | grep libncur*
libncursesw.so.5 (libc6,x86-64) => /usr/lib64/libncursesw.so.5
libncursesw.so (libc6,x86-64) => /usr/lib64/libncursesw.so
libncurses.so.5 (libc6,x86-64) => /usr/lib/libncurses.so.5
libncurses.so.5 (libc6,x86-64) => /usr/lib64/libncurses.so.5
libncurses.so.5 (libc6,x86-64) => /lib/libncurses.so.5
libncurses.so (libc6,x86-64) => /usr/lib64/libncurses.so

This is the error I get:

/cass/bin/m050ub02: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

Clearly the libraries are listed in the ldconfig cache, but it can't seem to find them.

Any help would be appreciated.

Running RH ES 4.5 - I know it's old, there's a reason for it.

Last edited by confusedlinuxuser; 07-11-2017 at 10:24 AM.
 
Old 07-11-2017, 11:03 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 10,882

Rep: Reputation: 3236Reputation: 3236Reputation: 3236Reputation: 3236Reputation: 3236Reputation: 3236Reputation: 3236Reputation: 3236Reputation: 3236Reputation: 3236Reputation: 3236
did you check if the file is really there? Is it accessible for the current user?
 
Old 07-11-2017, 11:05 AM   #3
confusedlinuxuser
LQ Newbie
 
Registered: Jul 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
did you check if the file is really there? Is it accessible for the current user?
Yes it is there, I'll have to check the permissions. Thanks! News in a few.

Thanks,
Eric
 
Old 07-11-2017, 11:11 AM   #4
confusedlinuxuser
LQ Newbie
 
Registered: Jul 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
They are all 755 for the files. Good idea, though. Still stuck on this one.

Thanks.
 
Old 07-11-2017, 11:35 AM   #5
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 10,882

Rep: Reputation: 3236Reputation: 3236Reputation: 3236Reputation: 3236Reputation: 3236Reputation: 3236Reputation: 3236Reputation: 3236Reputation: 3236Reputation: 3236Reputation: 3236
probably it is a 32/64 bit mismatch
 
1 members found this post helpful.
Old 07-11-2017, 12:10 PM   #6
confusedlinuxuser
LQ Newbie
 
Registered: Jul 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
probably it is a 32/64 bit mismatch
Any ideas on how to resolve this?

Thanks.
 
Old 07-11-2017, 12:44 PM   #7
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 10,882

Rep: Reputation: 3236Reputation: 3236Reputation: 3236Reputation: 3236Reputation: 3236Reputation: 3236Reputation: 3236Reputation: 3236Reputation: 3236Reputation: 3236Reputation: 3236
there are two ways: first you can use the command file to check your libraries.
next: you can use strace <command> to check how your program started and what was really not found (and probably why)
 
  


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
Sound-Juicer Refuses To Load - Help!! taurusx5 Linux - Software 14 08-17-2008 06:53 AM
LFS 6.0 Live refuses to load Tadaen Linux From Scratch 1 12-20-2005 08:33 AM
cedega refuses to load ANYTHING jollyjoice Linux - Games 2 06-27-2005 12:01 PM
Morphix refuses to load from HD Zvi Linux - Distributions 1 10-28-2004 11:54 AM
apache2 refuses to load php JanRigter Linux - Software 1 07-01-2003 01:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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