On Thursday 12 November 2009 13:39:40 Helmut Jarausch wrote: > On 12 Nov, Alan McKinnon wrote: > > On Thursday 12 November 2009 13:05:29 Helmut Jarausch wrote: > >> Sorry if this is FAQ but I couldn't find the answer. > >> E.g. I have to versions of dev-libs/libusb installed, one in slot 0 and > >> the other one in slot 1. > >> For testing purposes I'd like to make the slot-0 version 'effective'. > >> How can I do that (other than unmerging the slot-1 version) > >> ASAIK, eselect cannot do this. > > > > Why do you want to do that? The package contains only libs, and apps that > > link to it already know which on they want. > > > > I suppose you could tinker with LDPATH but I think there's a basic > > misunderstanding of what the package is > > The reason is the following bug. > To use an old printer (no USB connector) I've purchased > a USB-to-parallel adapater (since some software like VirtualBox > cannot handle the parallel port). > > [my bug report 291596] : > > When I use 'add printer' from the cups web interface this "printer" isn't > shown and I get the following entry in /var/log/messages: > Nov 2 16:19:41 numa-be kernel: usb[9750]: segfault at 7fff14c30000 ip > 00007f8d3a50dc0b sp 00007fff14c2ced8 error 4 in > libc-2.10.1.so[7f8d3a490000+14d000] > > I have started cupsd in foreground but it doesn't show any errors. > Where does this error come from? > > ----- > > Robin Johnson replied > Did this work on: > - a previous kernel? > - the libusb-0* series? > - ever (what changed since then)? > > Therefore I'd like to test with the older libusb.
In that case I would quickpkg libusb, downgrade and test. Then reply to Robin, and put the recent libusb back. At this stage you don't want to make a permanent change (yet), just test a theory -- alan dot mckinnon at gmail dot com