Solved... (ld-musl-$ARCH.so is missing)

Post here if you are a new Porteus member and you're looking for some help.
Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Ldd missing...

Post#1 by Bogomips » 27 Jul 2015, 17:41

blue4meridian wrote:Salutations... :good:

After installing 'musl' (a glibc dropin replacement) when I log into USM it asks for 'ldd' :wall:
I attempted to follow the 'mus'l site's solution (copy ld-musl to /bin/ldd) and it did not work.
Please note: I removed 'glibc' (solib) from 001-core and 'glibc' from 05-devel.

Best Regards... :beer:
FAQ wrote:Q: where is ldd ?

A: Musl's dynlinker comes with ldd functionality built in. just create a symlink from ld-musl-$ARCH.so to /bin/ldd. If the dynlinker was started as "ldd", it will detect that and print the appropriate DSO information.
Any different?
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Ldd missing...

Post#2 by Bogomips » 27 Jul 2015, 23:35

Code: Select all

guest@porteus:~$ whereis ldd
ldd: /usr/bin/ldd /usr/X11R6/bin/ldd /usr/bin/X11/ldd /usr/X11/bin/ldd
guest@porteus:~$ file /usr/bin/ldd
/usr/bin/ldd: Bourne-Again shell script, ASCII text executable
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Ldd missing...

Post#3 by Bogomips » 28 Jul 2015, 13:15

ldd is not a folder, but an executable script.
Question is: how do you expect to find a script in an executable?
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Solved... (ld-musl-$ARCH.so is missing)

Post#4 by brokenman » 16 Oct 2015, 20:05

Please Note: Everything in Porteus seems to work Ok except for the USM.
That may be because youu haven't tried to use another application in Porteus that uses ldd.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Re: Solved... (ld-musl-$ARCH.so is missing)

Post#5 by ncmprhnsbl » 17 Oct 2015, 21:50

did you make:
a file in /bin named "ldd" which is a symlink to ld-musl-$ARCH.so
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Post Reply