On Wednesday 08 July 2009 16:47:57 Helmut Jarausch wrote: > Hi, > > I'm in need to use some commercial software (Matlab and Maple) which > come with their own (probably old) version of Java. > > Now, both of those software packages cannot print, they don't see any > CUPS printer UNLESS I remove the symlink /usr/lib/libcups.so which > points to libcups.so.2 > > But some GenToo packages do need that link, e.g. x11-lib/qt-gui won't > install unless that link is there. > > I remember there is a bug with older versions of Java accessing CUPS, > and probably my commercial packages contain such an old version. > > Does anybody know how to fix or circumvent this. > (Currently I have to remove the symlink when using one of these > commercial packages and reinstall it afterwards, but ... for a normal > user without root priviledges that's not possible unless I write an SUID > script) > > Thanks for any hints,
Just an idea, not tested: Is there another "libcups.so" file somewhere? If yes, create a wrapper-script that puts the location of the other "libcups.so" file first in the search list for the LDPATH-variable. HTH, Joost