Hello list, 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 ./configure and afterwards to start the compile process with make LDFLAGS=-static but this failed with the message Linking bin/smbd /usr/lib/gcc-lib/i586-suse-linux/3.3.5/../../../../i586-suse-linux/bin/ld: 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, Christoph -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
