The -fPIC gcc flags was used to create libaddns.so, libsmbclient.so, libsmbsharemodes.so and libmsrpc.so shared libraries. The result is:
1) ldd fail with error on this libraries
2) you can't use this shared libraies with existing application
3) you can't build an application that use one of this libraries.
Created attachment 2266 [details]
this patch remove exclude $(LDFLAGS) variable from building of libaddns.so, libsmbclient.so, libsmbsharemodes.so and libmsrpc.so, thus -fPIC option is not applied.
*** This bug has been marked as a duplicate of 4230 ***