On 24/03/2018 14:20, [email protected] wrote:
> Hi,
> 
> On Sat, 24 Mar 2018, Ryan Marsaw wrote:
> 
>> On Fri, 23 Mar 2018, Pierre Labastie wrote:
>>
>>> On 23/03/2018 20:22, Ryan Marsaw wrote:
>>>>
>>>> Samba 4.8.0 requires libtirpc.  Without it, the configuration stage
>>>> fails with the following:
>>>>
>>>> This is related to the same issue involving rpcsvc-proto.  One of the
>>>> dependencies of Samba is libnsl, which itself requires rpcsvc-proto and
>>>> libtirpc.  libnsl pulls in libtirpc. However, the former is not a
>>>> required dependency, while the latter is.
>>>
>>> Hmm, the question is whether all those libraries are required, or only
>>> recommended. That is, is there an option to disable them somehow, or should
>>> they be present unconditionally for the configuration to succeed?
>>>
>>> From what I can see, there is no option to disable libtirpc from Samba.
>> Those libraries must be on the system, otherwise there's an error at
>> configuration stage.
> I came to the same conclusion. In earlier Samba versions it was possible to
> disable those, but with 4.8.0 I did not find a way. Examples:
> --without-quotas removed the libtirpc dependency in the past and
> --without-ads removed the openldap dependency in the past for me.
> 
> Without rpcsvc-proto the usage of rpcgen will fail in the build process 
> nowadays.
> 
> Uwe

Thank you all for your contributions. IIUC, libtirpc and rpcsvc-proto are both
required (cannot be disabled), while libnsl is just optional (to use nis).
I'll promote libtirpc to required. At the same time, I'll change the command
to add LDFLAGS.

Pierre
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to