gphoto / libgphoto2

The libgphoto2 camera access and control library.
GNU Lesser General Public License v2.1
1.06k stars 325 forks source link

error: 'aox.la' is not a valid libtool archive #226

Closed ExoSkye closed 6 years ago

ExoSkye commented 6 years ago

I am trying to install this on a raspberry pi and when I do sudo make install it runs for a bit everything working then it gets to "aox.la" and says it isn't a valid archive.

Thanks in advance for help

PS: This is the output from running sudo make install:

Making install in libgphoto2_port
make[1]: Entering directory '/home/pi/libgphoto2/libgphoto2_port'
Making install in po
make[2]: Entering directory '/home/pi/libgphoto2/libgphoto2_port/po'
/bin/sh ../auto-aux/mkinstalldirs /usr/local/share
installing cs.gmo as /usr/local/share/locale/cs/LC_MESSAGES/libgphoto2_port-12.mo
installing da.gmo as /usr/local/share/locale/da/LC_MESSAGES/libgphoto2_port-12.mo
installing de.gmo as /usr/local/share/locale/de/LC_MESSAGES/libgphoto2_port-12.mo
installing es.gmo as /usr/local/share/locale/es/LC_MESSAGES/libgphoto2_port-12.mo
installing eu.gmo as /usr/local/share/locale/eu/LC_MESSAGES/libgphoto2_port-12.mo
installing fi.gmo as /usr/local/share/locale/fi/LC_MESSAGES/libgphoto2_port-12.mo
installing fr.gmo as /usr/local/share/locale/fr/LC_MESSAGES/libgphoto2_port-12.mo
installing it.gmo as /usr/local/share/locale/it/LC_MESSAGES/libgphoto2_port-12.mo
installing ja.gmo as /usr/local/share/locale/ja/LC_MESSAGES/libgphoto2_port-12.mo
installing nl.gmo as /usr/local/share/locale/nl/LC_MESSAGES/libgphoto2_port-12.mo
installing pl.gmo as /usr/local/share/locale/pl/LC_MESSAGES/libgphoto2_port-12.mo
installing pt_BR.gmo as /usr/local/share/locale/pt_BR/LC_MESSAGES/libgphoto2_port-12.mo
installing ru.gmo as /usr/local/share/locale/ru/LC_MESSAGES/libgphoto2_port-12.mo
installing sk.gmo as /usr/local/share/locale/sk/LC_MESSAGES/libgphoto2_port-12.mo
installing sr.gmo as /usr/local/share/locale/sr/LC_MESSAGES/libgphoto2_port-12.mo
installing sv.gmo as /usr/local/share/locale/sv/LC_MESSAGES/libgphoto2_port-12.mo
installing uk.gmo as /usr/local/share/locale/uk/LC_MESSAGES/libgphoto2_port-12.mo
installing vi.gmo as /usr/local/share/locale/vi/LC_MESSAGES/libgphoto2_port-12.mo
installing zh_CN.gmo as /usr/local/share/locale/zh_CN/LC_MESSAGES/libgphoto2_port-12.mo
installing zh_TW.gmo as /usr/local/share/locale/zh_TW/LC_MESSAGES/libgphoto2_port-12.mo
if test "libgphoto2_port" = "gettext-tools"; then \
  /bin/sh ../auto-aux/mkinstalldirs /usr/local/share/gettext/po; \
  for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot   Makevars.template; do \
    /usr/bin/install -c -m 644 ./$file \
            /usr/local/share/gettext/po/$file; \
  done; \
  for file in Makevars; do \
    rm -f /usr/local/share/gettext/po/$file; \
  done; \
else \
  : ; \
fi
make[2]: Leaving directory '/home/pi/libgphoto2/libgphoto2_port/po'
Making install in libgphoto2_port
make[2]: Entering directory '/home/pi/libgphoto2/libgphoto2_port/libgphoto2_port'
make[3]: Entering directory '/home/pi/libgphoto2/libgphoto2_port/libgphoto2_port'
 /bin/mkdir -p '/usr/local/lib'
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libgphoto2_port.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libgphoto2_port.so.12.0.0 /usr/local/lib/libgphoto2_port.so.12.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libgphoto2_port.so.12.0.0 libgphoto2_port.so.12 || { rm -f libgphoto2_port.so.12 && ln -s libgphoto2_port.so.12.0.0 libgphoto2_port.so.12; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libgphoto2_port.so.12.0.0 libgphoto2_port.so || { rm -f libgphoto2_port.so && ln -s libgphoto2_port.so.12.0.0 libgphoto2_port.so; }; })
libtool: install: /usr/bin/install -c .libs/libgphoto2_port.lai /usr/local/lib/libgphoto2_port.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/pi/libgphoto2/libgphoto2_port/libgphoto2_port'
make[2]: Leaving directory '/home/pi/libgphoto2/libgphoto2_port/libgphoto2_port'
Making install in test
make[2]: Entering directory '/home/pi/libgphoto2/libgphoto2_port/test'
make[3]: Entering directory '/home/pi/libgphoto2/libgphoto2_port/test'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/pi/libgphoto2/libgphoto2_port/test'
make[2]: Leaving directory '/home/pi/libgphoto2/libgphoto2_port/test'
Making install in .
make[2]: Entering directory '/home/pi/libgphoto2/libgphoto2_port'
make[3]: Entering directory '/home/pi/libgphoto2/libgphoto2_port'
 /bin/mkdir -p '/usr/local/bin'
 /usr/bin/install -c gphoto2-port-config '/usr/local/bin'
rm -f /usr/local/include/gphoto2/gphoto2
/usr/bin/install -c -m 0755 -d /usr/local/include/gphoto2
ln -s . /usr/local/include/gphoto2/gphoto2
 /bin/mkdir -p '/usr/local/share/doc/libgphoto2_port'
 /usr/bin/install -c -m 644 AUTHORS README NEWS '/usr/local/share/doc/libgphoto2_port'
 /bin/mkdir -p '/usr/local/lib/libgphoto2_port/0.12.0'
 /bin/bash ./libtool   --mode=install /usr/bin/install -c   serial.la usb.la usbdiskdirect.la usbscsi.la disk.la ptpip.la '/usr/local/lib/libgphoto2_port/0.12.0'
libtool: warning: relinking 'serial.la'
libtool: install: (cd /home/pi/libgphoto2/libgphoto2_port; /bin/bash "/home/pi/libgphoto2/libgphoto2_port/libtool"  --tag CC --mode=relink gcc -g -O2 -Wall -Wmissing-declarations -Wmissing-prototypes -module -no-undefined -avoid-version -export-dynamic -export-symbols ./iolib.sym -rpath /usr/local/lib/libgphoto2_port/0.12.0 -o serial.la serial/serial_la-unix.lo ./libgphoto2_port/libgphoto2_port.la -lpthread )
libtool: relink: echo "{ global:" > .libs/serial.ver
libtool: relink:  cat ./iolib.sym | sed -e "s/\(.*\)/\1;/" >> .libs/serial.ver
libtool: relink:  echo "local: *; };" >> .libs/serial.ver
libtool: relink:  gcc -shared  -fPIC -DPIC  serial/.libs/serial_la-unix.o   -L/usr/local/lib -lgphoto2_port -lpthread  -g -O2   -Wl,-soname -Wl,serial.so -Wl,-version-script -Wl,.libs/serial.ver -o .libs/serial.so
libtool: install: /usr/bin/install -c .libs/serial.soT /usr/local/lib/libgphoto2_port/0.12.0/serial.so
libtool: install: /usr/bin/install -c .libs/serial.lai /usr/local/lib/libgphoto2_port/0.12.0/serial.la
libtool: warning: relinking 'usb.la'
libtool: install: (cd /home/pi/libgphoto2/libgphoto2_port; /bin/bash "/home/pi/libgphoto2/libgphoto2_port/libtool"  --tag CC --mode=relink gcc -g -O2 -Wall -Wmissing-declarations -Wmissing-prototypes -module -no-undefined -avoid-version -export-dynamic -export-symbols ./iolib.sym -rpath /usr/local/lib/libgphoto2_port/0.12.0 -o usb.la usb/usb_la-libusb.lo ./libgphoto2_port/libgphoto2_port.la -lusb -lpthread )
libtool: relink: echo "{ global:" > .libs/usb.ver
libtool: relink:  cat ./iolib.sym | sed -e "s/\(.*\)/\1;/" >> .libs/usb.ver
libtool: relink:  echo "local: *; };" >> .libs/usb.ver
libtool: relink:  gcc -shared  -fPIC -DPIC  usb/.libs/usb_la-libusb.o   -L/usr/local/lib -lgphoto2_port -lusb -lpthread  -g -O2   -Wl,-soname -Wl,usb.so -Wl,-version-script -Wl,.libs/usb.ver -o .libs/usb.so
libtool: install: /usr/bin/install -c .libs/usb.soT /usr/local/lib/libgphoto2_port/0.12.0/usb.so
libtool: install: /usr/bin/install -c .libs/usb.lai /usr/local/lib/libgphoto2_port/0.12.0/usb.la
libtool: warning: relinking 'usbdiskdirect.la'
libtool: install: (cd /home/pi/libgphoto2/libgphoto2_port; /bin/bash "/home/pi/libgphoto2/libgphoto2_port/libtool"  --tag CC --mode=relink gcc -g -O2 -Wall -Wmissing-declarations -Wmissing-prototypes -module -no-undefined -avoid-version -export-dynamic -export-symbols ./iolib.sym -rpath /usr/local/lib/libgphoto2_port/0.12.0 -o usbdiskdirect.la usbdiskdirect/usbdiskdirect_la-linux.lo ./libgphoto2_port/libgphoto2_port.la -lpthread )
libtool: relink: echo "{ global:" > .libs/usbdiskdirect.ver
libtool: relink:  cat ./iolib.sym | sed -e "s/\(.*\)/\1;/" >> .libs/usbdiskdirect.ver
libtool: relink:  echo "local: *; };" >> .libs/usbdiskdirect.ver
libtool: relink:  gcc -shared  -fPIC -DPIC  usbdiskdirect/.libs/usbdiskdirect_la-linux.o   -L/usr/local/lib -lgphoto2_port -lpthread  -g -O2   -Wl,-soname -Wl,usbdiskdirect.so -Wl,-version-script -Wl,.libs/usbdiskdirect.ver -o .libs/usbdiskdirect.so
libtool: install: /usr/bin/install -c .libs/usbdiskdirect.soT /usr/local/lib/libgphoto2_port/0.12.0/usbdiskdirect.so
libtool: install: /usr/bin/install -c .libs/usbdiskdirect.lai /usr/local/lib/libgphoto2_port/0.12.0/usbdiskdirect.la
libtool: warning: relinking 'usbscsi.la'
libtool: install: (cd /home/pi/libgphoto2/libgphoto2_port; /bin/bash "/home/pi/libgphoto2/libgphoto2_port/libtool"  --tag CC --mode=relink gcc -g -O2 -Wall -Wmissing-declarations -Wmissing-prototypes -module -no-undefined -avoid-version -export-dynamic -export-symbols ./iolib.sym -rpath /usr/local/lib/libgphoto2_port/0.12.0 -o usbscsi.la usbscsi/usbscsi_la-linux.lo ./libgphoto2_port/libgphoto2_port.la -lpthread )
libtool: relink: echo "{ global:" > .libs/usbscsi.ver
libtool: relink:  cat ./iolib.sym | sed -e "s/\(.*\)/\1;/" >> .libs/usbscsi.ver
libtool: relink:  echo "local: *; };" >> .libs/usbscsi.ver
libtool: relink:  gcc -shared  -fPIC -DPIC  usbscsi/.libs/usbscsi_la-linux.o   -L/usr/local/lib -lgphoto2_port -lpthread  -g -O2   -Wl,-soname -Wl,usbscsi.so -Wl,-version-script -Wl,.libs/usbscsi.ver -o .libs/usbscsi.so
libtool: install: /usr/bin/install -c .libs/usbscsi.soT /usr/local/lib/libgphoto2_port/0.12.0/usbscsi.so
libtool: install: /usr/bin/install -c .libs/usbscsi.lai /usr/local/lib/libgphoto2_port/0.12.0/usbscsi.la
libtool: warning: relinking 'disk.la'
libtool: install: (cd /home/pi/libgphoto2/libgphoto2_port; /bin/bash "/home/pi/libgphoto2/libgphoto2_port/libtool"  --tag CC --mode=relink gcc -g -O2 -Wall -Wmissing-declarations -Wmissing-prototypes -module -no-undefined -avoid-version -export-dynamic -export-symbols ./iolib.sym -rpath /usr/local/lib/libgphoto2_port/0.12.0 -o disk.la disk/disk_la-disk.lo ./libgphoto2_port/libgphoto2_port.la -lpthread )
libtool: relink: echo "{ global:" > .libs/disk.ver
libtool: relink:  cat ./iolib.sym | sed -e "s/\(.*\)/\1;/" >> .libs/disk.ver
libtool: relink:  echo "local: *; };" >> .libs/disk.ver
libtool: relink:  gcc -shared  -fPIC -DPIC  disk/.libs/disk_la-disk.o   -L/usr/local/lib -lgphoto2_port -lpthread  -g -O2   -Wl,-soname -Wl,disk.so -Wl,-version-script -Wl,.libs/disk.ver -o .libs/disk.so
libtool: install: /usr/bin/install -c .libs/disk.soT /usr/local/lib/libgphoto2_port/0.12.0/disk.so
libtool: install: /usr/bin/install -c .libs/disk.lai /usr/local/lib/libgphoto2_port/0.12.0/disk.la
libtool: warning: relinking 'ptpip.la'
libtool: install: (cd /home/pi/libgphoto2/libgphoto2_port; /bin/bash "/home/pi/libgphoto2/libgphoto2_port/libtool"  --tag CC --mode=relink gcc -g -O2 -Wall -Wmissing-declarations -Wmissing-prototypes -module -no-undefined -avoid-version -export-dynamic -export-symbols ./iolib.sym -rpath /usr/local/lib/libgphoto2_port/0.12.0 -o ptpip.la ptpip/ptpip_la-ptpip.lo ./libgphoto2_port/libgphoto2_port.la -lpthread )
libtool: relink: echo "{ global:" > .libs/ptpip.ver
libtool: relink:  cat ./iolib.sym | sed -e "s/\(.*\)/\1;/" >> .libs/ptpip.ver
libtool: relink:  echo "local: *; };" >> .libs/ptpip.ver
libtool: relink:  gcc -shared  -fPIC -DPIC  ptpip/.libs/ptpip_la-ptpip.o   -L/usr/local/lib -lgphoto2_port -lpthread  -g -O2   -Wl,-soname -Wl,ptpip.so -Wl,-version-script -Wl,.libs/ptpip.ver -o .libs/ptpip.so
libtool: install: /usr/bin/install -c .libs/ptpip.soT /usr/local/lib/libgphoto2_port/0.12.0/ptpip.so
libtool: install: /usr/bin/install -c .libs/ptpip.lai /usr/local/lib/libgphoto2_port/0.12.0/ptpip.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib/libgphoto2_port/0.12.0
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib/libgphoto2_port/0.12.0

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /bin/mkdir -p '/usr/local/include'
 /bin/mkdir -p '/usr/local/include/gphoto2'
 /usr/bin/install -c -m 644  gphoto2/gphoto2-port.h gphoto2/gphoto2-port-info-list.h gphoto2/gphoto2-port-log.h gphoto2/gphoto2-port-version.h gphoto2/gphoto2-port-portability.h gphoto2/gphoto2-port-result.h '/usr/local/include/gphoto2'
 /bin/mkdir -p '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 libgphoto2_port.pc '/usr/local/lib/pkgconfig'
 /bin/mkdir -p '/usr/local/share/libgphoto2_port/0.12.0/vcamera'
 /usr/bin/install -c -m 644 vusb/README.txt '/usr/local/share/libgphoto2_port/0.12.0/vcamera'
make[3]: Leaving directory '/home/pi/libgphoto2/libgphoto2_port'
make[2]: Leaving directory '/home/pi/libgphoto2/libgphoto2_port'
Making install in doc
make[2]: Entering directory '/home/pi/libgphoto2/libgphoto2_port/doc'
Dummy target all-local.
make[3]: Entering directory '/home/pi/libgphoto2/libgphoto2_port/doc'
make[3]: Nothing to be done for 'install-exec-am'.
Dummy target install-data-local
Re-run configure with adequate parameters and run make again to build docs.
make[3]: Leaving directory '/home/pi/libgphoto2/libgphoto2_port/doc'
make[2]: Leaving directory '/home/pi/libgphoto2/libgphoto2_port/doc'
Making install in gphoto-m4
make[2]: Entering directory '/home/pi/libgphoto2/libgphoto2_port/gphoto-m4'
make[3]: Entering directory '/home/pi/libgphoto2/libgphoto2_port/gphoto-m4'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/pi/libgphoto2/libgphoto2_port/gphoto-m4'
make[2]: Leaving directory '/home/pi/libgphoto2/libgphoto2_port/gphoto-m4'
make[1]: Leaving directory '/home/pi/libgphoto2/libgphoto2_port'
Making install in libgphoto2
make[1]: Entering directory '/home/pi/libgphoto2/libgphoto2'
make[2]: Entering directory '/home/pi/libgphoto2/libgphoto2'
 /bin/mkdir -p '/usr/local/lib'
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libgphoto2.la '/usr/local/lib'
libtool: warning: relinking 'libgphoto2.la'
libtool: install: (cd /home/pi/libgphoto2/libgphoto2; /bin/bash "/home/pi/libgphoto2/libtool"  --tag CC --mode=relink gcc -g -O2 -Wall -Wmissing-declarations -Wmissing-prototypes -no-undefined -export-symbols ./libgphoto2.sym -version-info 6:0:0 -o libgphoto2.la -rpath /usr/local/lib libgphoto2_la-gphoto2-abilities-list.lo libgphoto2_la-ahd_bayer.lo libgphoto2_la-bayer.lo libgphoto2_la-gphoto2-camera.lo libgphoto2_la-gphoto2-context.lo libgphoto2_la-exif.lo libgphoto2_la-gphoto2-file.lo libgphoto2_la-gphoto2-filesys.lo libgphoto2_la-gamma.lo libgphoto2_la-jpeg.lo libgphoto2_la-gphoto2-list.lo libgphoto2_la-gphoto2-result.lo libgphoto2_la-gphoto2-version.lo libgphoto2_la-gphoto2-setting.lo libgphoto2_la-gphoto2-widget.lo ../libgphoto2_port/libgphoto2_port/libgphoto2_port.la -lltdl -lexif -lm )
libtool: relink: echo "{ global:" > .libs/libgphoto2.ver
libtool: relink:  cat ./libgphoto2.sym | sed -e "s/\(.*\)/\1;/" >> .libs/libgphoto2.ver
libtool: relink:  echo "local: *; };" >> .libs/libgphoto2.ver
libtool: relink:  gcc -shared  -fPIC -DPIC  .libs/libgphoto2_la-gphoto2-abilities-list.o .libs/libgphoto2_la-ahd_bayer.o .libs/libgphoto2_la-bayer.o .libs/libgphoto2_la-gphoto2-camera.o .libs/libgphoto2_la-gphoto2-context.o .libs/libgphoto2_la-exif.o .libs/libgphoto2_la-gphoto2-file.o .libs/libgphoto2_la-gphoto2-filesys.o .libs/libgphoto2_la-gamma.o .libs/libgphoto2_la-jpeg.o .libs/libgphoto2_la-gphoto2-list.o .libs/libgphoto2_la-gphoto2-result.o .libs/libgphoto2_la-gphoto2-version.o .libs/libgphoto2_la-gphoto2-setting.o .libs/libgphoto2_la-gphoto2-widget.o   -L/usr/local/lib -lgphoto2_port -L/usr/lib/arm-linux-gnueabihf -lltdl -lexif -lm  -g -O2   -Wl,-soname -Wl,libgphoto2.so.6 -Wl,-version-script -Wl,.libs/libgphoto2.ver -o .libs/libgphoto2.so.6.0.0
libtool: install: /usr/bin/install -c .libs/libgphoto2.so.6.0.0T /usr/local/lib/libgphoto2.so.6.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libgphoto2.so.6.0.0 libgphoto2.so.6 || { rm -f libgphoto2.so.6 && ln -s libgphoto2.so.6.0.0 libgphoto2.so.6; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libgphoto2.so.6.0.0 libgphoto2.so || { rm -f libgphoto2.so && ln -s libgphoto2.so.6.0.0 libgphoto2.so; }; })
libtool: install: /usr/bin/install -c .libs/libgphoto2.lai /usr/local/lib/libgphoto2.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/pi/libgphoto2/libgphoto2'
make[1]: Leaving directory '/home/pi/libgphoto2/libgphoto2'
Making install in camlibs
make[1]: Entering directory '/home/pi/libgphoto2/camlibs'
Making install in .
make[2]: Entering directory '/home/pi/libgphoto2/camlibs'
make[3]: Entering directory '/home/pi/libgphoto2/camlibs'
make[3]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/usr/local/lib/libgphoto2/2.5.16.1'
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   adc65.la agfa_cl20.la aox.la ax203.la barbie.la canon.la casio_qv.la clicksmart310.la digigr8.la digita.la dimera3500.la directory.la enigma13.la fuji.la gsmart300.la hp215.la iclick.la jamcam.la jd11.la jl2005a.la jl2005c.la kodak_dc120.la kodak_dc210.la kodak_dc240.la kodak_dc3200.la kodak_ez200.la konica.la konica_qm150.la largan.la lg_gsm.la mars.la dimagev.la mustek.la panasonic_coolshot.la panasonic_l859.la panasonic_dc1000.la panasonic_dc1580.la pccam300.la pccam600.la pentax.la polaroid_pdc320.la polaroid_pdc640.la polaroid_pdc700.la ptp2.la ricoh.la ricoh_g3.la samsung.la sierra.la sipix_blink2.la sipix_web2.la smal.la sonix.la sony_dscf1.la sony_dscf55.la soundvision.la spca50x.la sq905.la st2205.la stv0674.la stv0680.la sx330z.la topfield.la toshiba_pdrm11.la tp6801.la '/usr/local/lib/libgphoto2/2.5.16.1'
libtool: warning: relinking 'adc65.la'
libtool: install: (cd /home/pi/libgphoto2/camlibs; /bin/bash "/home/pi/libgphoto2/libtool"  --tag CC --mode=relink gcc -g -O2 -Wall -Wmissing-declarations -Wmissing-prototypes -module -no-undefined -avoid-version -export-dynamic -export-symbols ../camlibs/camlib.sym -rpath /usr/local/lib/libgphoto2/2.5.16.1 -o adc65.la adc65/adc65.lo ../libgphoto2/libgphoto2.la ../libgphoto2_port/libgphoto2_port/libgphoto2_port.la )
libtool: relink: echo "{ global:" > .libs/adc65.ver
libtool: relink:  cat ../camlibs/camlib.sym | sed -e "s/\(.*\)/\1;/" >> .libs/adc65.ver
libtool: relink:  echo "local: *; };" >> .libs/adc65.ver
libtool: relink:  gcc -shared  -fPIC -DPIC  adc65/.libs/adc65.o   -L/usr/local/lib -lgphoto2 -lgphoto2_port  -g -O2   -Wl,-soname -Wl,adc65.so -Wl,-version-script -Wl,.libs/adc65.ver -o .libs/adc65.so
libtool: install: /usr/bin/install -c .libs/adc65.soT /usr/local/lib/libgphoto2/2.5.16.1/adc65.so
libtool: install: /usr/bin/install -c .libs/adc65.lai /usr/local/lib/libgphoto2/2.5.16.1/adc65.la
libtool: warning: relinking 'agfa_cl20.la'
libtool: install: (cd /home/pi/libgphoto2/camlibs; /bin/bash "/home/pi/libgphoto2/libtool"  --tag CC --mode=relink gcc -g -O2 -Wall -Wmissing-declarations -Wmissing-prototypes -module -no-undefined -avoid-version -export-dynamic -export-symbols ../camlibs/camlib.sym -rpath /usr/local/lib/libgphoto2/2.5.16.1 -o agfa_cl20.la agfa-cl20/agfa_cl20.lo ../libgphoto2/libgphoto2.la ../libgphoto2_port/libgphoto2_port/libgphoto2_port.la )
libtool: relink: echo "{ global:" > .libs/agfa_cl20.ver
libtool: relink:  cat ../camlibs/camlib.sym | sed -e "s/\(.*\)/\1;/" >> .libs/agfa_cl20.ver
libtool: relink:  echo "local: *; };" >> .libs/agfa_cl20.ver
libtool: relink:  gcc -shared  -fPIC -DPIC  agfa-cl20/.libs/agfa_cl20.o   -L/usr/local/lib -lgphoto2 -lgphoto2_port  -g -O2   -Wl,-soname -Wl,agfa_cl20.so -Wl,-version-script -Wl,.libs/agfa_cl20.ver -o .libs/agfa_cl20.so
libtool: install: /usr/bin/install -c .libs/agfa_cl20.soT /usr/local/lib/libgphoto2/2.5.16.1/agfa_cl20.so
libtool: install: /usr/bin/install -c .libs/agfa_cl20.lai /usr/local/lib/libgphoto2/2.5.16.1/agfa_cl20.la
Usage: /home/pi/libgphoto2/libtool [OPTION]... [MODE-ARG]...
Try 'libtool --help' for more information.
libtool:   error: 'aox.la' is not a valid libtool archive
Makefile:1748: recipe for target 'install-camlibLTLIBRARIES' failed
make[3]: *** [install-camlibLTLIBRARIES] Error 1
make[3]: Leaving directory '/home/pi/libgphoto2/camlibs'
Makefile:3587: recipe for target 'install-am' failed
make[2]: *** [install-am] Error 2
make[2]: Leaving directory '/home/pi/libgphoto2/camlibs'
Makefile:3426: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/home/pi/libgphoto2/camlibs'
Makefile:689: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
msmeissn commented 6 years ago

can you make clean and try to bnuild again. it might just be a hickup

ExoSkye commented 6 years ago

I got it to work, because I had the github version and another version I just swapped the .la files between them.

msmeissn commented 6 years ago

good to hear! libtool is still also blck magic for me, which mostly works :/