On Thu, 17 Mar 2016 08:00:03 +0100 Rene Engelhard <r...@debian.org> wrote: > Hi, > > On Thu, Mar 17, 2016 at 07:53:42AM +0100, Michael Biebl wrote: > > So, do I understand this correctly: gir1.2-lokdocview-0.1 is a public > > gir in a system path which depends on a library from a private path? > > That sounds broken. If your gir is supposed to be public, its > > dependencies should be as well. > > I kept libreofficekitgtk.so in /usr/lib/libreoffice/program as it has no > SONAME etc. at all. and is tightly coupled to that gir thing/LO/LOs gtk3 > stuff
What about burning the absolute path of the shared library into the typelib, i.e. g-ir-compiler --shared-library /usr/lib/libreoffice/program/liblibreofficekitgtk --output LOKDocView-0.1.typelib LOKDocView-0.1.gir Works for me :) Cheers, Roderich