SliTaz SliTaz Forum

You are not logged in.

#1 2012-07-19 15:41:17

Shadow23
Member
Registered: 2012-07-19
Posts: 4

ldd broken?

Can't ldd dont know why

oot@slitaz:/usr/bin# uname -a

Linux slitaz 2.6.37-slitaz #2 SMP Wed Mar 7 10:36:39 CET 2012 i686 GNU/Linux

root@slitaz:/usr/bin# ls -l ldd

-rwxr-xr-x    1 root     root          5761 Mar 13 14:01 ldd

root@slitaz:/usr/bin# ldd

sh: ldd: not found

root@slitaz:/usr/bin# ./ldd

sh: ./ldd: not found

root@slitaz:/usr/bin#

I try to learn linux libraries...

Offline

#2 2012-07-19 22:31:57

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: ldd broken?

[c]ldd /absolute/path/to/program[/c]

[c]ldd /usr/bin/alsaplayer[/c]

Offline

#3 2012-07-20 08:57:55

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: ldd broken?

Try:

$ head /usr/bin/ldd

The fix is likely:

# tazpkg get-install bash

Offline

#4 2012-07-20 09:51:31

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: ldd broken?

We have two concurrent implementation of [c]/usr/bin/ldd[/c] found in 'glibc-dev' and 'slitaz-base-files' packages.

Implementation (from pankso and erjo) in the 'slitaz-base-file' package guaranteed have no bashisms, i.e. no need full bash to be installed.

Try to reinstall 'slitaz-base-files':

[c]tazpkg -gi slitaz-base-files --forced[/c]

Offline

#5 2012-07-20 17:46:19

Shadow23
Member
Registered: 2012-07-19
Posts: 4

Re: ldd broken?

ah, thanks. its working again. maybe something broke in the running system. after restarting it worked again

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]