From: Theodore K. <ki...@ba...> - 2010-12-18 17:50:55
|
On Sat, 18 Dec 2010, Rogier Wolff wrote: > On Fri, Dec 17, 2010 at 03:19:39PM -0600, Theodore Kilgore wrote: > > > > Addendum to previous message: > > > > Just in case it is not clear, what I have at this instant is a libgphoto2 > > installation which is done off of a local directory libgphoto2-041910. It > > was similarly created from trunk/libgphoto2, obviously on April 19. I > > re-compiled this in the new environment and re-compiled gphoto2, and it > > all works. > > As you copied over "almost everything" and then reinstalled a 64-bit > OS, I expect that you might have a few 32-bit libraries lying > around. Normally linking against those (linktime) gives an error > message. Linking against them at runtime may just produce a segfault. > > Can you check if you have any 32bit libs in /lib, /usr/lib, /lib64, > /usr/lib64, /usr/local/lib ? (and wherever you can think of). > > (file /lib/* /usr/lib/* ... ) > > Roger. Thanks, but I suspect this is not the problem. The install was a clean install. Only my personal stuff copied over, but in my case as in yours "personal stuff" does involve a lot of extra things which are not in the distro -- as for example the gphoto tree but that is not nearly the only thing at all. And clearly all of these things need to be re-compiled and reinstalled. This takes a lot of time. I should also mention two things about the case of having the distro package of libgphoto2 installed, which I found yesterday. 1. It was a 64-bit compile and got installed when I was installing everything else in slackware64/lib. 2. In fact I do not think the presence of the distro package was causing any actual problem. the reason: Slackware sets up the lib path (and for that matter the executable path) to search /usr/local first, before /usr, instead of second like all those other distros that wish the /usr/local tree would just go away and either search it second, or not at all, thereby creating incessant trouble for people like us. Anyway, the camera worked fine and I added it late last night. Just in time for Christmas in case anyone wants to buy that little Lego cam for one of the children. The camera also works in streaming mode, just by adding its number to the kernel driver file, gspca/sq905c.c, but clearly that will take some time to percolate through the system and come out in a release kernel. Theodore Kilgore |