On Sat, May 24, 2014 at 05:12:23PM +0200, Felix Salfelder wrote:
> now the situation after "make install", prefix is /tmp/cgc.
> $ chrpath /tmp/cgc/bin/gnucap
> /tmp/cgc/bin/gnucap: no rpath or runpath tag found.
> 
> suboptimal and gives
> 
> $ ldd /tmp/cgc/bin/gnucap
>         linux-vdso.so.1 (0x00007fff82bff000)
>         libgnucap.so => not found
>         [..]

i need to correct myself: perhaps this one is okay. maybe it's a matter
of taste. i'm slightly biased towards (always) adding the RPATH, but it
looks more important to agree about what the default should be.

[ ] add rpath to (installed) gnucap binary, pointing to the directory
    containing libgnucap.*. this is not always necessary (c.f.
    /etc/ld.so.conf), but useful anyway.

[ ] no rpath for (installed) gnucap binary. lets assume everyone knows
    how to tune $libdir, linker configuration or environment variables.
         (this is the situation in the old build system, and also the
         autotools branch build system).

what do you think?

thanks
felix

_______________________________________________
Gnucap-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnucap-devel

Reply via email to