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

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
User avatar
blue4meridian
Shogun
Shogun
Posts: 279
Joined: 29 Sep 2014, 05:58
Distribution: 64bit LxQt (Plastique/Mikachu)
Location: Jersey City N.J. USA

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

Post#1 by blue4meridian » 27 Jul 2015, 15:37

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 (eg. copy ld-musl-$ARCH.so 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:
Last edited by blue4meridian on 16 Oct 2015, 15:03, edited 3 times in total.

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

Re: Ldd missing...

Post#2 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

User avatar
blue4meridian
Shogun
Shogun
Posts: 279
Joined: 29 Sep 2014, 05:58
Distribution: 64bit LxQt (Plastique/Mikachu)
Location: Jersey City N.J. USA

Re: Ldd missing...

Post#3 by blue4meridian » 27 Jul 2015, 18:49

Salutations... :good:

No... :wall: HINT: the ld-musl-$ARCH.so (solib) that is noted is only a symlink.

So... :oops: If anyone knows what might have possibly gone wrong (eg. "where is the ld-musl-$ARCH.so 'solib'?")... please share.


Best Regards... :beer:

Posted by 100.1.102.215 via http://webwarper.net
This is added while posting a message to avoid misusing the service
Last edited by blue4meridian on 28 Jul 2015, 17:02, edited 3 times in total.

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

Re: Ldd missing...

Post#4 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

User avatar
blue4meridian
Shogun
Shogun
Posts: 279
Joined: 29 Sep 2014, 05:58
Distribution: 64bit LxQt (Plastique/Mikachu)
Location: Jersey City N.J. USA

Re: Ldd missing...

Post#5 by blue4meridian » 28 Jul 2015, 08:00

Salutations... :good:

Ok... :unknown: this identifies all known locations of the 'ldd' 'directory' (file manager 'folder') path which does NOT :wall: contain ld-musl-$ARCH.so.

Best Regards... :beer:

Posted by 100.1.102.215 via http://webwarper.net
This is added while posting a message to avoid misusing the service
Last edited by blue4meridian on 28 Jul 2015, 16:46, edited 3 times in total.

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

Re: Ldd missing...

Post#6 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
blue4meridian
Shogun
Shogun
Posts: 279
Joined: 29 Sep 2014, 05:58
Distribution: 64bit LxQt (Plastique/Mikachu)
Location: Jersey City N.J. USA

Re: Ldd missing...

Post#7 by blue4meridian » 28 Jul 2015, 16:41

Salutations... :good:

I'm referring to the output above. :Search: It shows the 'directory' (file manager 'folder') paths to a 'solib' that is NOT :wall: there.
Please Note: Everything in Porteus seems to work Ok except for the USM.

Best Regards... :beer:

Posted by 100.1.102.215 via http://webwarper.net
This is added while posting a message to avoid misusing the service

User avatar
blue4meridian
Shogun
Shogun
Posts: 279
Joined: 29 Sep 2014, 05:58
Distribution: 64bit LxQt (Plastique/Mikachu)
Location: Jersey City N.J. USA

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

Post#8 by blue4meridian » 16 Oct 2015, 15:05

Salutations... :good:

Solved... :oops:
http://webwarper.net/ww/~av/forum.porte ... =39&t=5102

Best Regards... :beer:

User avatar
brokenman
Site Admin
Site Admin
Posts: 5503
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

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

Post#9 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
blue4meridian
Shogun
Shogun
Posts: 279
Joined: 29 Sep 2014, 05:58
Distribution: 64bit LxQt (Plastique/Mikachu)
Location: Jersey City N.J. USA

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

Post#10 by blue4meridian » 17 Oct 2015, 15:05

Salutations... :good:

I'm not sure if there another app that uses ldd. :unknown: If there is... I guess I'll have to test drive it.

Best Regards... :beer:

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 879
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

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

Post#11 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 : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
blue4meridian
Shogun
Shogun
Posts: 279
Joined: 29 Sep 2014, 05:58
Distribution: 64bit LxQt (Plastique/Mikachu)
Location: Jersey City N.J. USA

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

Post#12 by blue4meridian » 18 Oct 2015, 15:42

Salutations... :good:

I copied it from glibc.
http://webwarper.net/ww/~av/forum.porte ... 111#p37745

Best Regards... :beer:

Post Reply