Can't compile the latest version of slrn on raspbian
Adam Funk <[email protected]> Thu, 23 Dec 2021 10:21:42 +0000
| Newsgroups | gmane.network.slrn.user |
|---|---|
| Message-ID | <[email protected]> |
Currently using:
$ /usr/local/bin/slrn --version
slrn pre1.0.4-2
* Note: This version is a developer preview.
S-Lang Library Version: 2.3.2
* Note: This program was compiled against version 2.3.0.
Operating System: Linux
COMPILE TIME OPTIONS:
Backends: +nntp -slrnpull -spool
External programs / libs: +canlock -inews +ssl -uudeview +iconv
Features: +decoding +emphasized_text +end_of_thread +fake_refs +gen_msgid
-grouplens -msgid_cache +piping +rnlock +spoilers -strict_from
Using 64 bit integers for article numbers.
DEFAULTS:
Default server object: nntp
Default posting mechanism: nntp
Trying to compile the latest version:
$ git remote -vv
origin git://git.jedsoft.org/git/slrn.git (fetch)
origin git://git.jedsoft.org/git/slrn.git (push)
$ git pull
Already up to date.
$ ./configure --with-canlock --with-ssl --enable-spool --with-uu
# config options that worked last time
# no errors
$ make
# ...
/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'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:120: /home/adam/software/slrn/src/objs/slrn] Error 1
make[1]: Leaving directory '/home/adam/software/slrn/src'
make: *** [Makefile:8: all] Error 2
I have the following ssl-related packages installed:
$ dpkg -l '*ssl*' |grep ^i
ii libio-socket-ssl-perl 2.069-1 all Perl module implementing object oriented interface to SSL sockets
ii libnet-smtp-ssl-perl 1.04-1 all Perl module providing SSL support to Net::SMTP
ii libnet-ssleay-perl 1.88-3+b1 armhf Perl module for Secure Sockets Layer (SSL)
ii libssl-dev:armhf 1.1.1k-1+deb11u1 armhf Secure Sockets Layer toolkit - development files
ii libssl1.0.0:armhf 1.0.1t-1+deb8u7 armhf Secure Sockets Layer toolkit - shared libraries
ii libssl1.1:armhf 1.1.1k-1+deb11u1 armhf Secure Sockets Layer toolkit - shared libraries
ii openssl 1.1.1k-1+deb11u1 armhf Secure Sockets Layer toolkit - cryptographic utility
ii perl-openssl-defaults:armhf 5 armhf version compatibility baseline for Perl OpenSSL packages
ii ssl-cert 1.1.0+nmu1 all simple debconf wrapper for OpenSSL
Could someone please tell me how to fix this?
Thanks,
Adam