Web lists-archives.com

Re: Package shared library with application




On Wed, Oct 24, 2018 at 07:10:06PM +0000, Damir Porobic wrote:
>    > It looks like your build does not actually create/install a library
>    > called libkImageAnnotator.so.0.0.1.  That would be why it cannot be
>    > found by the application binary.  Is the source package available online
>    > somewhere I can take a look?
> 
>    It does create and install the library on the docker container where I
>    build the package, here is the log with the whole output from the CI:
>    [1]https://travis-ci.org/DamirPorobic/ksnip/jobs/445294545
>    Here the part from the logs:
> 
>  Install the project...
>  -- Install configuration: ""
>  -- Installing: /usr/lib/x86_64-linux-gnu/cmake/kImageAnnotator/kImageAnnotatorConfig.cmake
>  -- Installing: /usr/lib/x86_64-linux-gnu/cmake/kImageAnnotator/kImageAnnotatorConfig-version.cmake
>  -- Installing: /usr/lib/x86_64-linux-gnu/cmake/kImageAnnotator/kImageAnnotator-targets.cmake
>  -- Installing: /usr/lib/x86_64-linux-gnu/cmake/kImageAnnotator/kImageAnnotator-targets-noconfig.cmake
>  -- Installing: /usr/lib/x86_64-linux-gnu/libkImageAnnotator.so.0.0.1
>  -- Installing: /usr/lib/x86_64-linux-gnu/libkImageAnnotator.so
>  -- Installing: /usr/include/kImageAnnotator
>  -- Installing: /usr/include/kImageAnnotator/KImageAnnotator.h
>  -- Installing: /usr/include/kImageAnnotator/KImageAnnotatorExport.h
> 
Here is the part from your pastebin:

Install the project...
/usr/bin/cmake -P cmake_install.cmake
-- Install configuration: "None"
-- Installing: /home/travis/build/DamirPorobic/ksnip/debBuild/debian/ksnip/bin/ksnip
-- Installing: /home/travis/build/DamirPorobic/ksnip/debBuild/debian/ksnip/usr/share/ksnip/translations/ksnip_de.qm
-- Installing: /home/travis/build/DamirPorobic/ksnip/debBuild/debian/ksnip/usr/share/ksnip/translations/ksnip_es.qm
-- Installing: /home/travis/build/DamirPorobic/ksnip/debBuild/debian/ksnip/usr/share/ksnip/translations/ksnip_nl.qm
-- Installing: /home/travis/build/DamirPorobic/ksnip/debBuild/debian/ksnip/usr/share/ksnip/translations/ksnip_no.qm
-- Installing: /home/travis/build/DamirPorobic/ksnip/debBuild/debian/ksnip/usr/share/ksnip/translations/ksnip_pl.qm
-- Installing: /home/travis/build/DamirPorobic/ksnip/debBuild/debian/ksnip/usr/share/ksnip/translations/ksnip_ru.qm
-- Installing: /home/travis/build/DamirPorobic/ksnip/debBuild/debian/ksnip/usr/share/applications/ksnip.desktop
-- Installing: /home/travis/build/DamirPorobic/ksnip/debBuild/debian/ksnip/usr/share/pixmaps/ksnip.png
-- Installing: /home/travis/build/DamirPorobic/ksnip/debBuild/debian/ksnip/usr/share/metainfo/ksnip.appdata.xml

It appears that your package build is doing something different than you
think it is, perhaps depending on the build environment.

>    This is the project on github:
>    [2]https://github.com/DamirPorobic/ksnip/tree/addRpmAndDebToContinouseCi
> 

I will try to take a look at it a bit later.

Regards,

-Roberto
-- 
Roberto C. Sánchez