Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] 32bit printer driver under 64 bit Gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3922
Location: Hamburg

PostPosted: Sat Dec 13, 2014 1:49 pm    Post subject: [solved] 32bit printer driver under 64 bit Gentoo Reply with quote

I switched from x86 to amd64 and boing (naivly) wondering, if I would have any chance to get a Lexmark Z610 running again with the older drivers.
libstc++-v3 is already installed, but I do get this now :

Code:
/usr/libexec/cups/filter/rastertoz600
/usr/libexec/cups/filter/rastertoz600: error while loading shared libraries: libcups.so.2: wrong ELF class: ELFCLASS64


Last edited by toralf on Sat Dec 13, 2014 7:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
tclover
Guru
Guru


Joined: 10 Apr 2011
Posts: 516

PostPosted: Sat Dec 13, 2014 2:01 pm    Post subject: multilib libraries are necessary Reply with quote

Of course you can, you certainly have to make sure that abi_x86_32 libraries are available for that backend.
Where are you getting that backend in the first place? Because you will have more than cups[abi_x86_32]
to deal with.
Are you using ~arch or stable? I have no idea on the state of multilib abi_x86_32 on stable arch tough.
If you have an ebuild that installs that backend, you should convert/edit it to current multilib standard (the
easy way); or else, by trials and errors install everything with setting abi_x86_32 USE flag where necessary.

PS[EDIT]: Or else, you will have to get emul-linx-x86 packages instead... the old way which have arrived on
an end on Gentoo. This will banned in a near future...
_________________
home/:mkinitramfs-ll/:supervision/:e-gtk-theme/:overlay/
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3922
Location: Hamburg

PostPosted: Sat Dec 13, 2014 3:04 pm    Post subject: Reply with quote

Well, the backend package is CJLZ600LE-CUPS-1.0-1.TAR.gz, published in 2003, and it is an adventure to unpack it - which is btw the whole installation step, so no ebuild. I unpacked it and then symlinked wherever needed. I I got finally once the printer to give feedback after a cups maintenance try (the printer made a carriage return).

/me wonders if setting ABI_X86=32 for the cupsd package would help somehow ?
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Sat Dec 13, 2014 3:54 pm    Post subject: Reply with quote

As long as the drivers are not kernel drivers then yes with a multilib setup you can
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3922
Location: Hamburg

PostPosted: Sat Dec 13, 2014 7:01 pm    Post subject: Reply with quote

well, wth this https://wiki.gentoo.org/wiki/Multilib_System_without_emul-linux_Packages#Apply_the_abi_x86_32_flag Imade now the next step, this works now:
Code:
/usr/lib64/cups/filter/rastertoz600
ERROR: rastertoz600 job-id user title copies options [file]
printer is still not working - maybe cups/usb related ?

UpdateIt Works ! The only annoying thing is - I has to power on the printer now manually :-D
Thx for the help
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum