Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 10-13-2015, 11:39 PM   #1
LQ Newbie
Registered: Oct 2015
Posts: 2

Rep: Reputation: Disabled error when running ls -l or su

Hi all,

I'm experiencing a weird issue. I'm currently running Synology DSM 5.2 (Intel Atom) on an Synology NAS. Everything appears to be normal, other than ls -l and su not working, which were working up until a few days ago. I've played around with some third party ipkg packages which may have had an effect on this.

I can run 'ls -l' successfully in any directory other than /volume1 and it's sub-directories.

I can run 'ls' successfully in any directory, including volume1 and its sub-directories.

Here's the error when I run 'ls -l' from /volume1:
Segmentation fault (core dumped)

I get the same error when running 'su'. I'm already logged in as root though.

Here's the output of 'gdb su'
dlopen failed on '' - cannot open shared object file: No such file or directory
GDB will not be able to debug pthreads.

Errors in dmesg:
[4080072.749862] ls[25631]: segfault at 500 ip 00000000f6c506f1 sp 00000000ffd7a6e4 error 4 in[f6c4b000+17000]
[4080271.892995] su[26977]: segfault at 500 ip 00000000f6c116f1 sp 00000000ff96bf78 error 4 in[f6c0c000+17000]

/usr/lib also doesn't contain libthread_db*

Any help appreciated.


Last edited by professional_nub; 10-13-2015 at 11:43 PM.
Old 10-14-2015, 01:03 AM   #2
LQ Addict
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
The library is missing. Programs that need this library won't run.

You should have tools that allow you to find out which package the missing file belongs to, e.g. apt-cache if your OS is Debian-based. Reinstall that package.
Old 10-14-2015, 01:16 AM   #3
LQ Newbie
Registered: Oct 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thought so, but what makes me think otherwise is that I can run ls -l in other directories, just not /volume1.

I've also downloaded and have placed it into the /usr/libs directory which hasn't made any difference, so I'm guessing I need to 'register or 'install' it. Only thing is, the OS doesn't have ldconfig. Am I on the right track, is there any other more manual way of sorting this out?
Old 10-29-2015, 10:12 PM   #4
Registered: Mar 2010
Distribution: Debian
Posts: 180

Rep: Reputation: 31
I don't know where your distro stores things, but in my 64bit debian the file is in /lib/x86_64-linux-gnu and is a symbolic link to a different version number (mine is so maybe you should look in /lib and see what is there


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
jhbuild: Error during phase build of gnome-shell: Error running make Kenny_Strawn Linux - Desktop 1 07-09-2010 06:01 PM
why am getting error ksh: syntax error: `fi' unexpected while running script deb4you Linux - Newbie 4 09-06-2008 08:37 AM
Mandriva 2007 free. libthread_db trouble after some library update aragos Mandriva 0 01-01-2007 11:05 AM
/lib/ crashes at shutdown or reboot on Slackware 10.1 with Qt 3.3.4 Basel Slackware 13 07-15-2005 03:03 AM
ERROR running make when installing Nvidia drivers (syntax error) randyriver10 Linux - Software 5 02-21-2004 04:51 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:01 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration