jpleveillee
Still Fresh
- Joined
- Apr 19, 2010
- Messages
- 11
Did someone found a way to cross-compile Gphoto2 with libgphoto2 and make it work on the gp2x-wiz?
Thanks
JP
Thanks
JP
jpleveillee said:I found a simple alternative to gphoto2.
It's called multican : http://multican.sourceforge.net/ , a small program for controlling Canon cameras from USB.
I compiled libusb and multican for arm-linux with open-wiz and put it on the wiz.
But when I run ./multican.gpe , I get this error message :
./multican.gpe: error while loading shared libraries:
libusb-0.1.so.4: cannot open shared object file: No such file or directory
All the libusb libs are in /lib on the wiz and in the application directory.
I tried to make a .gpu script like this with no success:
#!/bin/sh
LD_LIBRARY_PATH=/lib:.LD_LIBRARY_PATH
./multican.gpe
any idea ?
Thanks
JP
Pickle said:jpleveillee said:I found a simple alternative to gphoto2.
It's called multican : http://multican.sourceforge.net/ , a small program for controlling Canon cameras from USB.
I compiled libusb and multican for arm-linux with open-wiz and put it on the wiz.
But when I run ./multican.gpe , I get this error message :
./multican.gpe: error while loading shared libraries:
libusb-0.1.so.4: cannot open shared object file: No such file or directory
All the libusb libs are in /lib on the wiz and in the application directory.
I tried to make a .gpu script like this with no success:
#!/bin/sh
LD_LIBRARY_PATH=/lib:.LD_LIBRARY_PATH
./multican.gpe
any idea ?
Thanks
JP
Easiest way is to copy libusb-0.1.so.4 right with your binary
jpleveillee said:I tried to copy libusb-0.1.so.4 (a symbolic link to libusb-0.1.so.4.4.4) with all libusb lib in the binary folder but it does not work..
I get the same error message: libusb-0.1.so.4: cannot open shared object file: No such file or directory
Did someone tried to compile application using libusb for the wiz?
Thanks
JP
Pickle said:jpleveillee said:I found a simple alternative to gphoto2.
It's called multican : http://multican.sourceforge.net/ , a small program for controlling Canon cameras from USB.
I compiled libusb and multican for arm-linux with open-wiz and put it on the wiz.
But when I run ./multican.gpe , I get this error message :
./multican.gpe: error while loading shared libraries:
libusb-0.1.so.4: cannot open shared object file: No such file or directory
All the libusb libs are in /lib on the wiz and in the application directory.
I tried to make a .gpu script like this with no success:
#!/bin/sh
LD_LIBRARY_PATH=/lib:.LD_LIBRARY_PATH
./multican.gpe
any idea ?
Thanks
JP
Easiest way is to copy libusb-0.1.so.4 right with your binary
Pickle said:jpleveillee said:I tried to copy libusb-0.1.so.4 (a symbolic link to libusb-0.1.so.4.4.4) with all libusb lib in the binary folder but it does not work..
I get the same error message: libusb-0.1.so.4: cannot open shared object file: No such file or directory
Did someone tried to compile application using libusb for the wiz?
Thanks
JP
Pickle said:jpleveillee said:I found a simple alternative to gphoto2.
It's called multican : http://multican.sourceforge.net/ , a small program for controlling Canon cameras from USB.
I compiled libusb and multican for arm-linux with open-wiz and put it on the wiz.
But when I run ./multican.gpe , I get this error message :
./multican.gpe: error while loading shared libraries:
libusb-0.1.so.4: cannot open shared object file: No such file or directory
All the libusb libs are in /lib on the wiz and in the application directory.
I tried to make a .gpu script like this with no success:
#!/bin/sh
LD_LIBRARY_PATH=/lib:.LD_LIBRARY_PATH
./multican.gpe
any idea ?
Thanks
JP
Easiest way is to copy libusb-0.1.so.4 right with your binary
Sorry, you took it too literal, you need the binary lib.
So copy libusb-0.1.so.4.4.4 and rename it to libusb-0.1.so.4
Pickle said:Try without setting LD_LIBRARY_PATH in your startup script