Everything linking with readline

Tim Potter tpot at linuxcare.com.au
Wed Apr 11 23:15:52 GMT 2001


Andrew Bartlett writes:

> I remember a debate at one stage, about samba's readline support.  It
> was to be thrown, but it received a stay of execution.  One of the
> things I remember is that the linking of every program to libreadline
> was a concern.  I just noticed that this is still the case.
> 
> Is there any reason we need readline for smbd, nmbd and freinds? 
> Removing it would also reduce the number of dependencies for things like
> RPM.  

Nope!  It shouldn't be too difficult a task to link against the
right libraries.  Just some tweaking of configure.in and
Makefile.in required.

I think it's a linker bug if an executable doesn't use any
symbols from a library but still has it in the load list.


Tim.

> 
> Andrew Bartlett
> 
> -- 
> Andrew Bartlett
> abartlet at pcug.org.au




More information about the samba-technical mailing list