We have moved to a new Sailfish OS Forum. Please start new discussions there.
0

error while loading shared libraries

asked 2016-04-10 00:03:56 +0200

alloj gravatar image

updated 2018-12-03 22:47:35 +0200

Tanghus gravatar image

I make test program with SailfishOS SDK. I build/deploy it fine on emulator, but when I run it I get:

error while loading shared libraries: libQt5Positioning.so.5: cannot open shared object file: No such file or directory

I check what is installed with SDK control center and positioning is installed. How to fix this?

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
0

answered 2016-04-11 13:57:07 +0200

alloj gravatar image

updated 2016-04-11 13:58:03 +0200

I change deployment from copy binaries to rpm and now it works! Why? I dont know answer.

edit flag offensive delete publish link more

Comments

I don't understand either. Usually the ld error would be reported if the LD_LIBRARY_PATH is not set correctly (or the -L path wasn't specified correctly when building the application). But I don't know why copying the binaries manually, instead of deploying via RPM, would make a difference.

chris.adams ( 2016-04-13 08:02:23 +0200 )edit

It is because if you enter the dependencies (qt-positioning) correctly they get installed, when deploying (installing) the rpm in the emulator. If you select copying binaries, it just copies the binaries.

michfu ( 2016-05-12 10:17:05 +0200 )edit
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2016-04-10 00:03:56 +0200

Seen: 254 times

Last updated: Apr 11 '16