pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: USE_DESTDIR=yes and PKG_DEVELOPER=yes -> shlibs check failure



On Sun, 09 Mar 2008 19:46:59 +0200
Aleksey Cheusov <cheusov%tut.by@localhost> wrote:

>     0 libungif>/home/cheusov/pkg/bin/bmake package USE_DESTDIR=full
>     ...
>     => Checking for missing run-time search paths in libungif-4.1.4nb1
>     ERROR: 
> /tmp/obj_pkgsrc-unpriv-current/graphics/libungif/work/.destdir/home/cheusov/pkg/bin/gif2epsn:
>       -lungif.4 => not found
>     ...
>     ERROR: 
> /tmp/obj_pkgsrc-unpriv-current/graphics/libungif/work/.destdir/home/cheusov/pkg/bin/text2gif:
>       -lungif.4 => not found
>     ERROR: *** The programs/libs shown above will not find the listed
>     ERROR:     shared libraries at runtime.
>     ERROR:     Please fix the package (add -Wl,-R.../lib in the right places)!
>     *** Error code 1
> 
>     Stop.
>     bmake: stopped in /srv/pkgsrc_current/graphics/libungif
>     *** Error code 1
> 
>     Stop.
>     bmake: stopped in /srv/pkgsrc_current/graphics/libungif
>     1 libungif>
> 
> How this can be fixed?

One possible way would be to have the test use "chrpath -l" from
devel/chrpath to sanity check run paths. Another would be to
add some kind of DESTDIR awareness to the runtime loader, but
that's not very portable.


Home | Main Index | Thread Index | Old Index