[Bulk] Re: [SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-129-g6850dc2

David Collier-Brown davecb at sun.com
Thu Mar 6 17:40:40 GMT 2008


  The R-path was the preferred elf mechanism, created as part of 
the original ABI discussions (which included my evil twin).
However, not everyone likes it, and some folks objected because 
they hadn't invented it (;-))

  It does require a guaranteed stable filesystem layout,
like the old System 5 (from whence came these particular
elves) or the Linux Standard Base. Otherwise you end up 
creating silly symlinks (:-()

--fab


Andreas Schneider wrote:
> Michael Adam wrote:
> 
>> The branch, v3-2-test has been updated
>>        via  6850dc242b010bdcef5e427e51be04201f55b7f3 (commit)
>>       from  c0bc09854f0cea03bc0cc6845244ff12ca7229b6 (commit)
>>
>> http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
>>
>>
>> - Log -----------------------------------------------------------------
>> commit 6850dc242b010bdcef5e427e51be04201f55b7f3
>> Author: Michael Adam <obnox at samba.org>
>> Date:   Thu Mar 6 17:49:07 2008 +0100
>>
>>     Revert "Build: Add an rpath of $(LIBDIR) to binary targets."
>>         This reverts commit 3a0f781352f364ce625a35ffd78257b27d984c47.
>>         This needs more thought.
>>         Setting RPATH like this does not work on all supported
>>     platforms (Linux, Solaris and AIX seem to work, HP-UX,
>>     Tru64 and MacOS don't, MacOS doesn't even seem to have
>>     an rpath at all prior to 10.4).
>>         What is more, rpath also has some bad effects (when
>>     updating libraries, e.g.), so it should not be set
>>     unconditionally.
>>         I will come up with a confiugure mechanism to control this.
>>         For now, just use the LDFLAGS environment variable if
>>     you want to use an rpath.
>>         Sorry for any inconveniences.
> 
> 
> Hi Michael,
> 
> normally you create a file /etc/ld.so.conf.d/ with the additional 
> library paths. One line for each path.
> 
> For examlple:
> 
> /etc/ld.so.conf.d/samba.conf:
> 
> /usr/lib64/samba
> 
> Setting rpath is not allowed if you create packages the major 
> distributions.
> 
>>         Michael
>>
>> -----------------------------------------------------------------------
> 
> 
> 
>     -- andreas
> 
> 

-- 
David Collier-Brown            | Always do right. This will gratify
Sun Microsystems, Toronto      | some people and astonish the rest
davecb at sun.com                 |                      -- Mark Twain
(905) 943-1983, cell: (647) 833-9377, home off: (416) 223-5943 
(800) 555-9786 x56583, bridge: (877) 385-4099 code: 506 9191#


More information about the samba-technical mailing list