gnucap-devel
[Top][All Lists]
Advanced

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

[Gnucap-devel] RPATH? Was: Re: CMake build system progress


From: Felix Salfelder
Subject: [Gnucap-devel] RPATH? Was: Re: CMake build system progress
Date: Mon, 26 May 2014 13:04:28 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]