• Can't compile the latest version of slrn on raspbian

    From Adam Funk@21:1/5 to All on Thu Dec 23 10:23:01 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lewis@21:1/5 to Adam Funk on Thu Dec 23 13:12:36 2021
    In message <59vd9ix289.ln2@news.ducksburg.com> Adam Funk <a24061@ducksburg.com> wrote:
    Currently using:

    $ /usr/local/bin/slrn --version
    slrn pre1.0.4-2
    * Note: This version is a developer preview.

    1.0.3 works fine, preview versions are... well, preview versions.

    --
    I'm the High King of Fillory. I took a blood test.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)