Paul Humphreys rambles on....
News and Views

20070116 Tuesday January 16, 2007

gphoto GP_SYSTEM_IS_FILE problems

I was using gphoto2 with a workstation at home running nv bld55. Gphoto2 was been working perfectly until now... It finds the camera, downloads the data and where I think it is going to save the file I see this:

$ /usr/sfw/bin/gphoto2 -P
Loading camera drivers from '/usr/l... Detected a 'Canon:Digital IXUS 400'.
Downloading 'IMG_5112.JPG' from folder '/DCIM/151CANON'...
ld.so.1: gphoto2: fatal: relocation error: file /usr/sfw/bin/gphoto2: symbol GP_SYSTEM_IS_FILE: referenced symbol not found
Killed

Gphoto2 still works fine on my SunRay@ home also using Nevada.. and ldd on gphoto2 looks the same on the SunRay and on the workstation.

Someone at work had better luck with Google than me and found this . The workaround is to run

gphoto2 --quiet --camera "Canon PowerShot A610 (PTP mode)" --get-all-files

Thanks Kevin.

( Jan 16 2007, 12:00:01 AM PST ) Permalink Comments [2]

Comments:

Does /usr/bin/gphoto2 do on build 55?

Posted by Chris Gerhard on January 17, 2007 at 09:21 AM PST #

It works a treat. Interesting different ldd output which explains the problem I guess:

$ ldd /usr/sfw/bin/gphoto2
        libjpeg.so.62 =>         /usr/lib/libjpeg.so.62
        libpthread.so.1 =>       /lib/libpthread.so.1
        libgphoto2.so.2 =>       /usr/lib/libgphoto2.so.2
        libgphoto2_port.so.0 =>  /usr/lib/libgphoto2_port.so.0
        libexif.so.9 =>  /usr/lib/libexif.so.9
        libm.so.2 =>     /lib/libm.so.2
        libpopt.so.0 =>  /usr/lib/libpopt.so.0
        libc.so.1 =>     /lib/libc.so.1
        libdl.so.1 =>    /lib/libdl.so.1
        libexif.so.12 =>         /usr/lib/libexif.so.12
        /platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1
$ ldd /usr/bin/gphoto2
        libpthread.so.1 =>       /lib/libpthread.so.1
        libgphoto2.so.2 =>       /usr/lib/libgphoto2.so.2
        libgphoto2_port.so.0 =>  /usr/lib/libgphoto2_port.so.0
        libexif.so.12 =>         /usr/lib/libexif.so.12
        libpopt.so.0 =>  /usr/lib/libpopt.so.0
        libc.so.1 =>     /lib/libc.so.1
        libdl.so.1 =>    /lib/libdl.so.1
        libm.so.2 =>     /lib/libm.so.2
        /platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1
$ 

Posted by Paul Humphreys on January 17, 2007 at 11:10 AM PST #

Post a Comment:

Comments are closed for this entry.

Archives
Language
Links
Referrers