[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 32bit libs without the 32bit chroot



On Thu, Mar 24, 2005 at 06:28:53PM +0100, Jiri Barton wrote:
> I'm trying to set up printing on Lexmark Z612. This beast has a binary driver 
> only, available from Lexmark (actually, the driver is for the model Z600). 
> After extracting the files from the RPMs to the appropriate directories, I 
> got it almost working, except
> 
> [root@balmora /usr/lib]# ldd /usr/lib/cups/filter/rastertoz600
>         linux-gate.so.1 =>  (0xffffe000)
>         liblexprintjob.so.0 => /usr/lib/liblexprintjob.so.0 (0x55583000)
>         liblexz600core.so.0 => /usr/lib/liblexz600core.so.0 (0x55588000)
>         libcups.so.2 => not found
>         libcupsimage.so.2 => not found
>         libstdc++.so.5 => /emul/ia32-linux/usr/lib/libstdc++.so.5 (0x55627000)
>         libm.so.6 => /usr/i486-linux/lib/libm.so.6 (0x556e1000)
>         libgcc_s.so.1 => /emul/ia32-linux/lib/libgcc_s.so.1 (0x55704000)
>         libc.so.6 => /usr/i486-linux/lib/libc.so.6 (0x5570c000)
>         /lib/ld-linux.so.2 (0x55555000)
> 
> As you can see, the drivers (the rastertoz600 binary) are 32bit only and 
> therefore link to 32bit libraries. Now, the only thing I need to do is to 
> install CUPS to the 32bit environment so that the executable rastertoz600 
> will find it.
> 
> My question is, what is the easiest way to do that? I have not set up the 
> 32bit chroot but I do have ia32-* libraries installed. Is there a way I can 
> install the 32bit cupsys into /emul/ia32-linux directory without actually 
> going through the 32bit deboostrap? And, how can I install all the 32bit 
> cupsys dependencies too?
> 
> How do the maintainers of ia32-libs-dev, ia32-libs, and the like do that?

I guess you will have to install and run the entire cups print server
from 32bit and just have 64bit client software installed. 

Or you could go buy a printer with proper support (like something
supported by gimp-print).  I recomend an Epson inkjet like the C86 or
such. :)

Len Sorensen



Reply to: