While linking a shared library (smbwrapper) here, the LDFLAGS are missing. The link command consists out of @$(LD) -shared -o $@ $(PICOBJS) $(LIBS) So there is no additional LDFLAGS which results in not finding the SSL lib since it is not in any of the standard paths. -- Heiko Nardmann (Dipl.-Ing.), h.nardmann@secunet.de, Software Development secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de), Weidenauer Str. 223-225, D-57076 Siegen Tel. : +49 271 48950-13, Fax : +49 271 48950-50