Closed hirnschmalz closed 10 years ago
I tried to use the gphoto2 package but the libgphoto2 package seems to be broken to me. There are no CAMLIBS and no IOLIBS.
gphoto2 --list-ports --debug 0.000031 main(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST: 0.008919 main(2): gphoto2 2.4.11 0.009464 main(2): gphoto2 has been compiled with the following options: 0.009907 main(2): + mips-openwrt-linux-uclibc-gcc (C compiler used) 0.010172 main(2): + popt (mandatory, for handling command-line parameters) 0.010407 main(2): + exif (for displaying EXIF information) 0.010644 main(2): + no cdk (for accessing configuration options) 0.010882 main(2): + no aa (for displaying live previews) 0.011119 main(2): + jpeg (for displaying live previews in JPEG format) 0.011357 main(2): + readline (for easy navigation in the shell) 0.011634 main(2): libgphoto2 2.4.12 0.011896 main(2): libgphoto2 has been compiled with the following options: 0.012133 main(2): + mips-openwrt-linux-uclibc-gcc (C compiler used) 0.012380 main(2): + ltdl (for portable loading of camlibs) 0.012617 main(2): + EXIF (for special handling of EXIF files) 0.012872 main(2): libgphoto2_port 0.8.0 0.013129 main(2): libgphoto2_port has been compiled with the following options: 0.013370 main(2): + mips-openwrt-linux-uclibc-gcc (C compiler used) 0.013608 main(2): + ltdl (for portable loading of camlibs) 0.013843 main(2): + USB (libusb, for USB cameras) 0.014078 main(2): + serial (for serial cameras) 0.014310 main(2): + no resmgr (serial port access and locking) 0.014547 main(2): + no ttylock (serial port locking) 0.014781 main(2): + no lockdev (serial port locking) 0.015025 main(2): CAMLIBS env var not set, using compile-time default instead 0.015243 main(2): IOLIBS env var not set, using compile-time default instead 0.015740 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto 0.016189 setting/gphoto2-setting.c(2): Can't open settings file for reading 0.016449 setting/gphoto2-setting.c(2): Loading settings from file "/root/.gphoto/settings" 0.016737 setting/gphoto2-setting.c(2): Can't open settings for reading 0.017004 setting/gphoto2-setting.c(2): Creating $HOME/.gphoto 0.017281 setting/gphoto2-setting.c(2): Can't open settings file for reading 0.017526 setting/gphoto2-setting.c(2): Loading settings from file "/root/.gphoto/settings" 0.017808 setting/gphoto2-setting.c(2): Can't open settings for reading 0.023011 gphoto2-port-info-list(2): Using ltdl to load io-drivers from '/usr/lib/libgphoto2_port/0.8.0'... 0.029862 gphoto2-port-info-list(2): Counting entries (0 available)... 0.030286 gphoto2-port-info-list(2): 0 regular entries available. 0.030519 gphoto2-port-info-list(2): Counting entries (0 available)... 0.031409 gphoto2-port-info-list(2): 0 regular entries available. Devices found: 0 Path Description -------------------------------------------------------------- 0.032417 gp-camera(2): Freeing camera... 0.032665 gphoto2-port(2): Freeing port... 0.032931 gphoto2-filesystem(2): resetting filesystem 0.033147 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list... 0.033359 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty 0.033574 gphoto2-filesystem(2): Internally deleting all folders from '/'... 0.033826 gphoto2-filesystem(2): Lookup folder '/'... 0.034074 gphoto2-filesystem(2): Found! / is 0x6b52c8 0.034378 gphoto2-filesystem(2): Recurse delete folder 0x6b52c8//
The important line seems to be
0.023011 gphoto2-port-info-list(2): Using ltdl to load io-drivers from '/usr/lib/libgphoto2_port/0.8.0'...
This directory does not exist. On a Debian machine the corresponding folder looks like this
tree /usr/lib/x86_64-linux-gnu/libgphoto2_port/0.8.0 /usr/lib/x86_64-linux-gnu/libgphoto2_port/0.8.0 ├── disk.so ├── ptpip.so ├── serial.so ├── usbdiskdirect.so ├── usbscsi.so └── usb.so
Markus
OK, seems to failure was on my site. I post the solution here just if someone has the same problems. You need to install the libgphoto2-drivers package.
opkg install libgphoto2-drivers
I tried to use the gphoto2 package but the libgphoto2 package seems to be broken to me. There are no CAMLIBS and no IOLIBS.
The important line seems to be
This directory does not exist. On a Debian machine the corresponding folder looks like this
Markus