command 'ld' utils not found?
command 'ld' utils not found?
Hi, I am new on Porteus. I have problem when I trying install packages from slackbuild, when process compile I am getting error like this "/usr/bin/ld no such directory". How to fix this? What recommended packages for me to do installation from slackbuild? By the way, I tried install epson printer driver and the problem has came up
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: command 'ld' utils not found?
Welcome to Porteus.
Please always supply details of architecture (32/64 bit), Desktop being used, and Porteus version, which will make it easier to help you.
Code: Select all
guest@porteus:~$ ls /usr/bin/ld
/usr/bin/ld@
guest@porteus:~$ file /usr/bin/ld
/usr/bin/ld: symbolic link to ld.bfd
guest@porteus:~$ file /usr/bin/ld.bfd
/usr/bin/ld.bfd: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, stripped, with debug_info
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
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
Re: command 'ld' utils not found?
I am using porteus kde x86_64. There's nothing 'ld' command, I am create bootable usb with command 'cp -rf /home/myuser/porteus-extract/* /mnt/sdb1'
/mnt/sdb1 is usb drive directory, any problem with create bootable usb from above methods?
/mnt/sdb1 is usb drive directory, any problem with create bootable usb from above methods?
Re: command 'ld' utils not found?
Here my result from terminal
It looks so strange?
Code: Select all
guest@porteus:~$ whereis ld
ld:
guest@porteus:~$ ls /usr/bin/ld
/bin/ls: cannot access '/usr/bin/ld': No such file or directory
guest@porteus:~$ which ld
which: no ld in (/usr/local/bin:/usr/bin:/bin:/usr/games:/opt/porteus-scripts)
- Blaze
- DEV Team
- Posts: 3885
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
- Contact:
Re: command 'ld' utils not found?
If you running in Porteus, open terminal and typeMerlin wrote:I am create bootable usb with command 'cp -rf /home/myuser/porteus-extract/* /mnt/sdb1'
/mnt/sdb1 is usb drive directory
Code: Select all
su
toor
mloop /patch-to/Porteus.iso
cp -a /mnt/loop/* /mnt/sdb1/
sh +x /mnt/sdb1/boot/Porteus-installer-for-Linux.com
uloop
Code: Select all
guest@porteus:~$ whereis ld
ld: /usr/bin/ld /usr/bin/ld.bfd /usr/bin/ld.gold
guest@porteus:~$ ls /usr/bin/ld
/usr/bin/ld@
guest@porteus:~$ which ld
/usr/bin/ld
guest@porteus:~$
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
Re: command 'ld' utils not found?
I am using another distribution. Are step-by-step above it can do it?
- Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: command 'ld' utils not found?
I'm not sure what you mean by "install packages". One doesn't really install packages with Porteus, they add packages as modules, usually using the USM GUI.Merlin wrote:I have problem when I trying install packages from slackbuild,
It's not the method we normally see with Porteus installs. I think Blaze's approach works better.Merlin wrote:I am using porteus kde x86_64. There's nothing 'ld' command, I am create bootable usb with command 'cp -rf /home/myuser/porteus-extract/* /mnt/sdb1'
/mnt/sdb1 is usb drive directory, any problem with create bootable usb from above methods?
As does this one.Blaze wrote:If you running in Porteus, open terminal and typeCode: Select all
su toor mloop /path-to/Porteus.iso cp -a /mnt/loop/* /mnt/sdb1/ sh +x Porteus-installer-for-Linux.com
brokenman - https://forum.porteus.org/viewtopic.php?f=81&t=4632&p=33638#p33604 wrote: Create one single FAT32 partition on the USB
Put all the files from the ISO onto the USB stick
Open a root terminal and change into the boot folder on the USB stick
Run the Porteus-installer-for-Linux.com
From a standard porteus install (and assuming your USB partition is at sdb1)Code: Select all
mloop /path/to/my/porteus.iso cp -a /mnt/loop/* /mnt/sdb1 sync cd /mnt/sdb1/boot ./Porteus-installer-for-Linux.com
Ed
-
- Full of knowledge
- Posts: 2070
- Joined: 17 Jun 2013, 13:17
- Distribution: Porteus 3.2.2 XFCE 32bit
- Location: Germany
Re: command 'ld' utils not found?
Hi MerlinMerlin wrote:Here my result from terminalIt looks so strange?Code: Select all
guest@porteus:~$ whereis ld ld: guest@porteus:~$ ls /usr/bin/ld /bin/ls: cannot access '/usr/bin/ld': No such file or directory guest@porteus:~$ which ld which: no ld in (/usr/local/bin:/usr/bin:/bin:/usr/games:/opt/porteus-scripts)
download and activate the 05-devel.xzm -- the ld command is in there.
http://ftp.nluug.nl/os/Linux/distr/port ... -devel.xzm
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: command 'ld' utils not found?
That's what I thought at first, but then for good measure checked existing system, and already there.donald wrote: download and activate the 05-devel.xzm -- the ld command is in there.
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
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
- Blaze
- DEV Team
- Posts: 3885
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
- Contact:
Re: command 'ld' utils not found?
Something like this:Merlin wrote:I am using another distribution. Are step-by-step above it can do it?
1) Open terminal and login as root
2) Find your USB flash drive
Code: Select all
df -h
3) Unmount your USB stick
Code: Select all
umount /dev/sdb1
mkfs.ext2 -F -L "Porteus" /dev/sdc1
Code: Select all
/dev/sdb1 contains a ntfs file system
Proceed anyway? (y,n)
Code: Select all
mount -t ext2 /dev/sdb1
In example below Porteus-MATE-v3.2-x86_64.iso and /home/guest/Downloads/ can have another name and path.
Code: Select all
mkdir /media/porteus
mount -t iso9660 -o loop /home/guest/Downloads/Porteus-MATE-v3.2-x86_64.iso /media/porteus
cp -a /media/porteus/* /mnt/sdb1/
umount /media/porteus
rmdir /media/porteus
cd /mnt/sdb1/boot/
./Porteus-installer-for-Linux.com
# or sh +x Porteus-installer-for-Linux.com
8. Done.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16