LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 02-08-2017, 02:19 PM   #16
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

Original Poster
Rep: Reputation: 17

Quote:
Originally Posted by Luridis View Post
As an interesting digression, this is one place Apple impressed the hell out of me. They use unified binaries that support not only multiple architectures (no. of bits), but multiple platforms (intel/ppc). That's one crazy linker!

https://youtu.be/-7GMHB3Plc8
I got tired of watching the video. She spent way too much time telling what Apple isn't, instead of just telling what Apple is.

Wayne Sallee
Wayne@WayneSallee.com
http://www.WayneSallee.com
 
Old 02-12-2017, 10:49 AM   #17
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by sr_ls_boy View Post
Its the exact opposite. At this link 'elkrejzi' and I
discuss multilib as a theory. Read the link and you'll
learn my personal troubles in getting multilib to work.
The 32-bit dynamic linker needs to come first in the
"LD PRELOAD" search. Whatever that means.
What I did is put /lib from a 64-bit LFS build into /lib64,
next, I put /lib from a 32-bit LFS build into /lib32. I then
created a /lib. There I have my kernel modules, firmware, udev
rules, and two recreated symlinks.. These to point to
ld-linux.so.2 & libc.so.6 in /lib32.

But in /usr its the other way around. In my experience the 64-bit
libraries needed to come first.
So what does
Code:
ls -l /lib
look like on your computer?

Wayne Sallee
Wayne@WayneSallee.com
http://www.WayneSallee.com
 
Old 02-14-2017, 08:42 PM   #18
sr_ls_boy
Member
 
Registered: Apr 2015
Posts: 105

Rep: Reputation: Disabled
Code:
drwxr-xr-x  4 root root  4096 Sep 10 20:21 dhcpcd
drwxr-xr-x 37 root root  4096 Oct 21 00:41 firmware
lrwxrwxrwx  1 root root     8 Sep 10 20:21 lsb -> services
drwxr-xr-x  4 root root  4096 Feb 12 18:33 modules
drwxr-xr-x  3 root root  4096 Feb  5 23:17 security
drwxr-xr-x  2 root root  4096 Sep 10 20:21 services
drwxr-xr-x  3 root root  4096 Sep 10 20:21 udev
lrwxrwxrwx  1 root root    31 Dec 16 22:07 ld-linux.so.2 -> /lib32/ld-2.24.so
lrwxrwxrwx  1 root root    33 Dec 16 22:08 libc.so.6 -> /lib32/libc-2.24.so
 
Old 02-15-2017, 06:54 AM   #19
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by sr_ls_boy View Post
Code:
drwxr-xr-x  4 root root  4096 Sep 10 20:21 dhcpcd
drwxr-xr-x 37 root root  4096 Oct 21 00:41 firmware
lrwxrwxrwx  1 root root     8 Sep 10 20:21 lsb -> services
drwxr-xr-x  4 root root  4096 Feb 12 18:33 modules
drwxr-xr-x  3 root root  4096 Feb  5 23:17 security
drwxr-xr-x  2 root root  4096 Sep 10 20:21 services
drwxr-xr-x  3 root root  4096 Sep 10 20:21 udev
lrwxrwxrwx  1 root root    31 Dec 16 22:07 ld-linux.so.2 -> /lib32/ld-2.24.so
lrwxrwxrwx  1 root root    33 Dec 16 22:08 libc.so.6 -> /lib32/libc-2.24.so
Thanks!

Wayne Sallee
Wayne@WayneSallee.com
http://www.WayneSallee.com
 
  


Reply



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
[SOLVED] RH 6 std install does /lib64 but no /lib32 sord Red Hat 1 02-05-2012 12:04 PM
[SOLVED] /usr/lib/../lib64/libdl.so: undefined reference to Anandkpda Linux - Software 1 09-20-2011 04:41 AM
Different /lib and /lib64 contents on EM64T and AMD64 ykwok Linux - General 4 08-28-2008 07:12 PM
/lib64 /lib32 /lib Debian AMD64 Arnaud_B Debian 2 05-09-2007 01:12 PM
audacity unable to locate required lib files present in /usr/lib/ adityavpratap Slackware 4 11-30-2006 06:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 12:32 AM.

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