Re: Problem building latest slrn on raspbian

Tilmann Hentze via Slrn-user <[email protected]> Fri, 4 Jun 2021 10:41:19 -0000 (UTC)
Newsgroups gmane.network.slrn.user
Message-ID <[email protected]>
Adam Funk <[email protected]> wrote:
> /usr/bin/ld: server.o: in function `alloc_ssl':
> /home/adam/software/slrn/src/sltcp.c:566: undefined reference to `SSL_library_init'
> /usr/bin/ld: /home/adam/software/slrn/src/sltcp.c:567: undefined reference to `SSLv23_client_method'
> /usr/bin/ld: /home/adam/software/slrn/src/sltcp.c:569: undefined reference to `SSL_load_error_strings'

The linker cannot find the SSL library.

> $ ./configure --with-canlock --with-ssl --with-uu

Look at the output of:
 $ grep '^SSL' src/Makefile

It should read like:

 SSL_INC         = -I/usr/include
 SSL_LIB         = -L/usr/lib -lssl -lcrypto

Try to configure '--with-ssl=/usr' if it does not.

HTH