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

Revision history [back]

click to hide/show revision 1
initial version

posted 2015-07-27 13:41:38 +0300

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:

  1. /usr/lib,
  2. /srv/mer/targets/SailfishOS-i486/usr/lib, 3./host_targets/SailfishOS-i486/usr/lib/
  3. /home/mersdk/share/SailfishOS/lib/
  4. /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 there are there since i find them on the paths above. Maybe there 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

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:

  1. /usr/lib,
  2. /srv/mer/targets/SailfishOS-i486/usr/lib, 3./host_targets/SailfishOS-i486/usr/lib//srv/mer/targets/SailfishOS-i486/usr/lib,
  3. /host_targets/SailfishOS-i486/usr/lib/
  4. /home/mersdk/share/SailfishOS/lib/
  5. /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 there are there since i find them on the paths above. Maybe there 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

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:

  1. /usr/lib,
  2. /srv/mer/targets/SailfishOS-i486/usr/lib,
  3. /host_targets/SailfishOS-i486/usr/lib/
  4. /home/mersdk/share/SailfishOS/lib/
  5. /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 there are there they are here since i find them on the paths above. Maybe there 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

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:

  1. /usr/lib,
  2. /srv/mer/targets/SailfishOS-i486/usr/lib,
  3. /host_targets/SailfishOS-i486/usr/lib/
  4. /home/mersdk/share/SailfishOS/lib/
  5. /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 there 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

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:

  1. /usr/lib,
  2. /srv/mer/targets/SailfishOS-i486/usr/lib,
  3. /host_targets/SailfishOS-i486/usr/lib/
  4. /home/mersdk/share/SailfishOS/lib/
  5. /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

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:

  1. /usr/lib,
  2. /srv/mer/targets/SailfishOS-i486/usr/lib,
  3. /host_targets/SailfishOS-i486/usr/lib/
  4. /home/mersdk/share/SailfishOS/lib/
  5. /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