libraries: satart / stop daemons
Cole, Timothy D.
timothy_d_cole at md.northgrum.com
Fri Jan 21 19:28:32 GMT 2000
> -----Original Message-----
> From: Luke Kenneth Casson Leighton [SMTP:lkcl at samba.org]
> Sent: Thursday, January 20, 2000 0:26
> To: Multiple recipients of list SAMBA-TECHNICAL
> Subject: libraries: satart / stop daemons
> i start / stop samba_tng daemons like this:
> killall smbd nmbd lsarpcd samrd netlogond etc
> gets boring after a while, but i don't notice the library load problem
> because Makefile.in has defined that libsmb.so is GOING to be in
> if i do cd bin
> nothing loads!
> any suggestions anyone?
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:
exec $0.bin "$@"
It should get substituted by autoconf, and the resulting script
installed in the binaries directory.
More information about the samba-technical