Forum

Author Topic: Problem starting Photoscan  (Read 4863 times)

aag

  • Newbie
  • *
  • Posts: 5
    • View Profile
Problem starting Photoscan
« on: February 27, 2017, 06:32:28 PM »
Hello,

I'm trying to run Photoscan 1.3.0 Pro on a SGI Ultraviolet 2000 system with SUSE Enterprise Linux 11 (64bits). Note that I don't have root-access to the machine, so I can't do things like update the distribution or install system-wide packets.

The first problem I encountered was an outdated version of the GLIBC, which I fixed by compiling a GLIBC 2.15 and pre-loading it like this:
Quote
LD_PRELOAD='path/to/libc.so' ./photoscan.sh

Unfortunately Photoscan complains about failing to load the XCB plug-in:

Quote
QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Available platform plugins are: offscreen, xcb.

Reinstalling the application may fix this problem.
./photoscan.sh: line 19: 405456 Aborted                 "$dirname/$appname" "$@"

I tried adjusting the QT_QPA_PLATFORM_PLUGIN_PATH environment variable to point to to Photoscan's plug-in platform directory but it didn't change the error.

I also used ldd to examine Photoscan's libraries for missing links but couldn't find any.

Does anyone know how to fix this? Since the Linux distribution is quite old, perhaps I have to compile more things than just the glibc. Any ideas?

Thanks!
Alvaro

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14840
    • View Profile
Re: Problem starting Photoscan
« Reply #1 on: February 28, 2017, 02:33:50 PM »
Hello Alvaro,

Could you please execute the following command in terminal and provide the output:
Code: [Select]
ldd plugins/platforms/libqxcb.so
Best regards,
Alexey Pasumansky,
Agisoft LLC

aag

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Problem starting Photoscan
« Reply #2 on: February 28, 2017, 04:31:53 PM »
sure, here you go:

Quote
        linux-vdso.so.1 =>  (0x00002aaaaaaab000)
        libQt5XcbQpa.so.5 => /home/aguilera/bin/photoscan-pro/libQt5XcbQpa.so.5 (0x00002aaaaacb0000)
        libQt5Gui.so.5 => /home/aguilera/bin/photoscan-pro/libQt5Gui.so.5 (0x00002aaaab012000)
        libQt5Core.so.5 => /home/aguilera/bin/photoscan-pro/libQt5Core.so.5 (0x00002aaaab80e000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00002aaaac004000)
        libc.so.6 => /home/aguilera/bin/build/libc.so.6 (0x00002aaaac30b000)
        libX11-xcb.so.1 => /home/aguilera/bin/photoscan-pro/libX11-xcb.so.1 (0x00002aaaac6b6000)
        libXi.so.6 => /usr/lib64/libXi.so.6 (0x00002aaaac8b8000)
        libSM.so.6 => /usr/lib64/libSM.so.6 (0x00002aaaacac4000)
        libICE.so.6 => /usr/lib64/libICE.so.6 (0x00002aaaacccd000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00002aaaaceea000)
        libQt5DBus.so.5 => /home/aguilera/bin/photoscan-pro/libQt5DBus.so.5 (0x00002aaaad107000)
        libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00002aaaad397000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00002aaaad65d000)
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00002aaaad99b000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00002aaaadbcc000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00002aaaade52000)
        libm.so.6 => /lib64/libm.so.6 (0x00002aaaae070000)
        libz.so.1 => /lib64/libz.so.1 (0x00002aaaae2e9000)
        libGL.so.1 => /usr/lib64/libGL.so.1 (0x00002aaaae4ff000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002aaaae786000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00002aaaae99c000)
        librt.so.1 => /lib64/librt.so.1 (0x00002aaaaeba0000)
        /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00002aaaaedaa000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x00002aaaaefbc000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00002aaaaf1c1000)
        libpcre.so.0 => /usr/lib64/libpcre.so.0 (0x00002aaaaf3c6000)
        libxcb-xlib.so.0 => /usr/lib64/libxcb-xlib.so.0 (0x00002aaaaf5f6000)
        libexpat.so.1 => /lib64/libexpat.so.1 (0x00002aaaaf7f8000)
        libglapi.so.0 => /usr/lib64/libglapi.so.0 (0x00002aaaafa23000)
        libXdamage.so.1 => /usr/lib64/libXdamage.so.1 (0x00002aaaafc7a000)
        libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00002aaaafe7d000)
        libxcb-glx.so.0 => /usr/lib64/libxcb-glx.so.0 (0x00002aaab0084000)
        libXxf86vm.so.1 => /usr/lib64/libXxf86vm.so.1 (0x00002aaab029a000)
        libdrm.so.2 => /usr/lib64/libdrm.so.2 (0x00002aaab04a0000)

aag

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Problem starting Photoscan
« Reply #3 on: March 06, 2017, 10:58:26 AM »
any idea that I can try?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14840
    • View Profile
Re: Problem starting Photoscan
« Reply #4 on: March 07, 2017, 01:56:25 PM »
Hello Alvaro,

I've sent you a custom package that hopefully should work on your system.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14840
    • View Profile
Re: Problem starting Photoscan
« Reply #5 on: March 09, 2017, 08:13:36 PM »
Hello Alvaro,

Can you please specify the version number of your OS, so that we could check it on exactly same version. Which Service Pack for SUSE Enterprise Linux 11 you are using?
Best regards,
Alexey Pasumansky,
Agisoft LLC

aag

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Problem starting Photoscan
« Reply #6 on: March 20, 2017, 04:55:50 PM »
Hi,

is this info enough?

Code: [Select]
lsb_release -a
LSB Version:    core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch
Distributor ID: SUSE LINUX
Description:    SUSE Linux Enterprise Server 11 (x86_64)
Release:        11
Codename:       n/a

Code: [Select]
cat /etc/SuSE-release
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 3

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14840
    • View Profile
Re: Problem starting Photoscan
« Reply #7 on: March 20, 2017, 05:16:11 PM »
Hello Alvaro,

Thank you, that's sufficient, we'll check it on the same configuration.
Best regards,
Alexey Pasumansky,
Agisoft LLC