[tpop3d-discuss]Error compiling with TLS on Solaris

Martin Schmitt mas at scsy.de
Sun, 15 Feb 2004 10:12:08 +0100


* mas@scsy.de wrote/schrieb:

> Undefined                       first referenced
>  symbol                             in file
> ERR_reason_error_string             ioabs_tls.o  (symbol belongs to implicit dependency /usr/local/ssl/lib/libcrypto.so.0.9.7)
> ERR_get_error                       ioabs_tls.o  (symbol belongs to implicit dependency /usr/local/ssl/lib/libcrypto.so.0.9.7)
> ld: fatal: Symbol referencing errors. No output written to tpop3d
> collect2: ld returned 1 exit status
> make[2]: *** [tpop3d] Error 1
> make[2]: Leaving directory `/usr/local/src/tpop3d-1.5.3'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/tpop3d-1.5.3'
> make: *** [all-recursive-am] Error 2

Fixed it myself by appending "-lcrypto" to the gcc command line. That way,
it seems to work.

-martin

-- 
+-------------------------+------------------------+
| Martin Schmitt          | Schmitt Systemberatung |
| http://www.scsy.de/~mas | http://www.scsy.de     |
+-------------------------+------------------------+