Hi Hartmut,

Hartmut Goebel <h.goe...@crazy-compilers.com> skribis:

> I already managed to split the output into several. Here is an the
> file-list for zbar:qt:
>
> /gnu/store/…-zbar-0.22-gtk/bin/zbarcam-gtk
> /gnu/store/…-zbar-0.22-gtk/lib/libzbargtk.so.0.0.2
> /gnu/store/…-zbar-0.22-gtk/lib/libzbargtk.a
> /gnu/store/…-zbar-0.22-gtk/lib/libzbargtk.la
> /gnu/store/…-zbar-0.22-gtk/include/zbar/zbargtk.h
> /gnu/store/…-zbar-0.22-gtk/lib/pkgconfig/zbar-gtk.pc
>
> Obviously zbarcam-gtk should use libzbargtk.so from the same output.
>
> How can I make zbarcam-gtk find the lib? Any ideas?

Normally, the build system (QMake I suppose?) should take care of it.

In GNU configure parlance, if you do:

  ./configure --libdir=/some/thing/lib

then the build system will ensure that executables, once installed, have
/some/thing/lib in their RUNPATH.

IOW, instead of adding a post-install phase that moves files around,
make sure to pass the right libdir option to QMake or whatever.

HTH!

Ludo’.

Reply via email to