[Samba] Run path in Samba 4.1.4

Andrew Bartlett abartlet at samba.org
Tue Feb 4 19:30:27 MST 2014


On Mon, 2014-02-03 at 23:54 -0500, Thomas Schulz wrote:
> I have built Samba 4.1.4 on a Solaris 10 i386 box to be installed in
> /opt/local/samba4. I expected that the resulting binaries would include
> a run path as necessary to find the shared libraries. They did include
> a run path to /opt/local/lib (which would also be needed) but not to
> /opt/local/samba4/lib. I fixed this by re-running configure with the
> following options
> 
> LDFLAGS="-R/opt/local/samba4/lib:/opt/local/samba4/lib/private" \
> ./configure configure \
>  --prefix=/opt/local/samba4
> 
> Should this have been necessary? I expected from reading the help from
> configure that a run path would be automatically included. By the way,
> the help from configure does not mention the LDFLAGS environmental
> variable. I just made a guess that it might work. And it does.

It should work, we should be setting that whenever we install into a
path outside the default search path. 

I can't however suggest any course of action other than filing a bug, or
trying a different compiler suite. 

Sorry,

Andrew Bartlett

-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba






More information about the samba mailing list