Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] CUPS and old java (commercial software)
Date: Wed, 08 Jul 2009 15:06:15
Message-Id: 200907081705.51177.joost@antarean.org
In Reply to: [gentoo-user] CUPS and old java (commercial software) by Helmut Jarausch
1 On Wednesday 08 July 2009 16:47:57 Helmut Jarausch wrote:
2 > Hi,
3 >
4 > I'm in need to use some commercial software (Matlab and Maple) which
5 > come with their own (probably old) version of Java.
6 >
7 > Now, both of those software packages cannot print, they don't see any
8 > CUPS printer UNLESS I remove the symlink /usr/lib/libcups.so which
9 > points to libcups.so.2
10 >
11 > But some GenToo packages do need that link, e.g. x11-lib/qt-gui won't
12 > install unless that link is there.
13 >
14 > I remember there is a bug with older versions of Java accessing CUPS,
15 > and probably my commercial packages contain such an old version.
16 >
17 > Does anybody know how to fix or circumvent this.
18 > (Currently I have to remove the symlink when using one of these
19 > commercial packages and reinstall it afterwards, but ... for a normal
20 > user without root priviledges that's not possible unless I write an SUID
21 > script)
22 >
23 > Thanks for any hints,
24
25 Just an idea, not tested:
26
27 Is there another "libcups.so" file somewhere?
28 If yes, create a wrapper-script that puts the location of the other
29 "libcups.so" file first in the search list for the LDPATH-variable.
30
31 HTH,
32
33 Joost

Replies

Subject Author
Re: [gentoo-user] CUPS and old java (commercial software) Helmut Jarausch <jarausch@××××××××××××××××.de>