Re: Do 32-bit libraries exist for Sarge (AMD64)?

2006-11-10 Thread Goswin von Brederlow
"Martin Payne" <[EMAIL PROTECTED]> writes:

> I am trying to compile a 32-bit program that needs the USB libraries (i.e.
> linked using -lusb). These libraries do not exist on my AMD64 (Sarge)
> system.
> Does anyone know how to install the 32-bit USB libraries? (I have already
> installed libusb (64-bit only) and ia32-lib but that is not enough).
> If they do not exist is there a plan to release them?
> Otherwise I will have to use Fedora...

Get the 32bit libusb from the i386 deb, add it to /usr/local/lib32 and
add that to /etc/ld.so.conf.

apt-get install ia32-libs-dev gcc-3.4
export CC=gcc-3.4
export CFLAGS="-m32 -O2 -W -Wall -g"
export LDFLAGS="-L/usr/local/lib32"

MfG
Goswin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Do 32-bit libraries exist for Sarge (AMD64)?

2006-11-10 Thread Lennart Sorensen
On Fri, Nov 10, 2006 at 12:01:07PM -, Martin Payne wrote:
> I am trying to compile a 32-bit program that needs the USB libraries (i.e.
> linked using -lusb). These libraries do not exist on my AMD64 (Sarge)
> system.
> Does anyone know how to install the 32-bit USB libraries? (I have already
> installed libusb (64-bit only) and ia32-lib but that is not enough).
> If they do not exist is there a plan to release them?
> Otherwise I will have to use Fedora...

The recomended way to have proper 32bit support on a pure64bit system is
by having a 32bit system installed in a chroot.  It works very well and
is much easier to manage and has a lot less packaging comflicts and bugs
than the hack redhat uses in fedora to make it biarch.

--
Len Sorensen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Do 32-bit libraries exist for Sarge (AMD64)?

2006-11-10 Thread Martin Payne
I am trying to compile a 32-bit program that needs the USB libraries (i.e.
linked using -lusb). These libraries do not exist on my AMD64 (Sarge)
system.
Does anyone know how to install the 32-bit USB libraries? (I have already
installed libusb (64-bit only) and ia32-lib but that is not enough).
If they do not exist is there a plan to release them?
Otherwise I will have to use Fedora...




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]