Forum

Author Topic: Activation on Ubuntu requires export library path and sudo -E  (Read 3716 times)

stoney

  • Newbie
  • *
  • Posts: 2
    • View Profile
Activation on Ubuntu requires export library path and sudo -E
« on: September 02, 2014, 04:05:40 AM »
In order to permanently activate my photoscan on Ubuntu, it was necessary to export the LD_LIBRARY_PATH and then run
> export LD_LIBRARY_PATH=/home/your-username/photoscan
> sudo -E /home/your-username/photoscan/photoscan.sh

Otherwise your Qt libary version might not match.

"Cannot mix incompatible Qt library (version 0x40806) with this library (version 0x40804)"

You can modify the photoscan.sh bourne shell script to print out the final variables for debugging.  You can also use the ldd command to ensure that all of the dynamically linked libraries are satisfied.

> ldd ./photoscan