where are the libs ?
Hello saillors, I'm a noob in sailfish sdk, i'm confuse where are the path of the libs ? when connecting on ssh : ssh -p 2222 -i SailfishOS/vmshare/ssh/private_keys/engine/mersdk mersdk@localhost
there is:
- /usr/lib,
- /srv/mer/targets/SailfishOS-i486/usr/lib,
- /host_targets/SailfishOS-i486/usr/lib/
- /home/mersdk/share/SailfishOS/lib/
/home/mersdk/share/SailfishOS/mersdk/targets/SailfishOS-i486/usr/lib/
I'm trying to compile a project lib. From the Sailfish IDE, qmake do not find some of the libs needed for the compilation, but i know they are here since i find them on the paths above. Maybe they are in the wrong path so which path do i have to put in PKG_CONFIG_PATH ? I also tryed to compile it manualy from ssh by using :
mb2 -t SailfishOS-i486 -s SPECS/thelib.spec build
and
sb2 -t SailfishOS-i486 -m sdk-install -R pkcon install-local thelib.i486.rpm
I have now a bunch of file in /home/deploy/installroot/ where am i suppose to put them ?
So my questions are what are those path related to ? How can i build a lib from Sailfish sdk ?
Thanks
Are you sure you have the dev libraries installed, not just the normal ones? I haven't done any development on Sailfish but this has bitten me on Ubuntu before.
Feathers_McGraw ( 2015-07-27 14:43:22 +0200 )edityes, they are installed.
michello ( 2015-07-27 14:45:42 +0200 )edit