LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-09-2007, 02:38 AM   #1
Arnaud_B
Member
 
Registered: Jun 2004
Location: New York
Distribution: Debian
Posts: 219

Rep: Reputation: 30
/lib64 /lib32 /lib Debian AMD64


Hi,
I noticed that in Debian AMD64 /lib is a symlink to /lib64 and /lib32 is a symlink to /emu/ia32-libs (if I remember well, I don't have the machine with me now...).
I was wondering if there is anything I should know about it in term of administration of the system. Would this mean for instance that I should install 32 bits apps in /lib32?
Sorry if this is an obvious question but I would just like to know what is the good way to work with an AMD64 system :-)
Thanks,
A.
 
Old 05-09-2007, 11:58 AM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
This is a generic “multilib” setup. If you use your package manager, it should take care of placement of 32-bit libraries to {,/usr}/lib32 and normal libraries to {,/usr}/lib64. When you are compiling yourself, it should already be taken care of as /lib points to /lib64. Only when you want to compile 32-bit libraries will you have to specify the library install prefix explicitly as /usr/lib32 or whatever.
 
Old 05-09-2007, 01:12 PM   #3
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by Arnaud_B
Hi,
I noticed that in Debian AMD64 /lib is a symlink to /lib64 and /lib32 is a symlink to /emu/ia32-libs (if I remember well, I don't have the machine with me now...).
I was wondering if there is anything I should know about it in term of administration of the system. Would this mean for instance that I should install 32 bits apps in /lib32?
Sorry if this is an obvious question but I would just like to know what is the good way to work with an AMD64 system :-)
Thanks,
A.
Debian amd64 is pure 64bit the /emu/ia32-libs directory is there for as the name suggest emulation of the 32bit libs that work using that. If you want to run 32bit apps then you need to setup was is called a chroot install of a 32bit system in addition to your running 64bit system (both will run at the same time), then you run your 32bit apps within this 32bit chroot environment.
 
  


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
grub issues: dual boot Debian i386 & Debian amd64 ErrorBound Debian 1 03-09-2007 07:41 PM
Debian on a AMD64 carlosinfl Debian 1 09-03-2005 09:36 PM
Relocat /usr/lib and /usr/lib64 to a different path schokshi Fedora 3 08-30-2005 09:14 PM
Debian for AMD64 logosys Debian 3 07-18-2005 01:33 PM
amd64 and debian tsitras Debian 10 03-06-2005 09:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:52 PM.

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