[Samba] compile samba 3.0.23c statically
cfuchs at spamcan.fuchs.cc
Mon Oct 23 15:31:19 GMT 2006
I'm trying to compile the current stable version of samba statically.
The goal is that smbd / etc. don't need any libraries.
My first attempt was to run
and afterwards to start the compile process with
but this failed with the message
cannot find -lcap
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1
The OS is SuSE Linux 9.3, I installed the libcap-1.92-483-package.
Samba compiled smoothly without the "LDFLAGS=-static" parameter, but was
afterwards - of course - dynamically linked.
Is there a possibility to link it statically?
Thanks a lot for your help,
More information about the samba