libraries: satart / stop daemons

Luke Kenneth Casson Leighton lkcl at samba.org
Fri Jan 21 20:17:43 GMT 2000


libtool automatically does this.

> 	Write wrapper shell scripts for each executable; use them to set
> LD_LIBRARY_PATH appropriately before exec-ing the binaries.
> 
> 	So, smbd would become smbd.bin, and you'd have an smbd.in in the
> source tree something like:
> 
> 	#!/bin/sh
> 	export LD_LIBRARY_PATH=@libdir@:$LD_LIBRARY_PATH
> 	exec $0.bin "$@"
> 
> 	It should get substituted by autoconf, and the resulting script
> installed in the binaries directory.
> 
> 

<a href="mailto:lkcl at samba.org"   > Luke Kenneth Casson Leighton    </a>
<a href="http://www.cb1.com/~lkcl"> Samba and Network Development   </a>
<a href="http://samba.org"        > Samba Web site                  </a>
<a href="http://www.iss.net"      > Internet Security Systems, Inc. </a>
<a href="http://mcp.com"          > Macmillan Technical Publishing  </a>

 ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals



More information about the samba-technical mailing list