Re: Can't compile the latest version of slrn on raspbian

Adam Funk <[email protected]> Thu, 23 Dec 2021 12:41:28 +0000
Newsgroups gmane.network.slrn.user
Message-ID <[email protected]>
On 2021-12-23, [email protected] wrote:

> Adam Funk writes:
>>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
>>
>>/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'
>
>>ii  openssl                              1.1.1k-1+deb11u1 armhf        Secure 
>>Sockets Layer toolkit - cryptographic utility
>
> I don't want to say this authoritatively, but I understand that openssl
> versions 1.1 are not fully backward-compatible with versions 1.0 .
> I would not be surprised to learn that slrn is too old for the changes
> in openssl 1.1 .
>
> You might either need to find an older version, or (as i did) leave out
> --with-ssl

You're right:

$ ./configure --with-canlock --enable-spool --with-uu
$ make
$ sudo make install
$ slrn --version
slrn pre1.0.4-6
        * Note: This version is a developer preview.
S-Lang Library Version: 2.3.2
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

I'd forgotten about SSL libraries being in knots --- thanks!