[blfs-support] BLFS_8.1 libreoffice-5.4, was vsftpd-3.0.3

Paul Rogers paulgrogers at fastmail.fm
Wed Jun 6 11:45:46 PDT 2018

> export CFLAGS="$CFLAGS -I/usr/include/openssl-1.0.2"
> export LIBS="-L/usr/lib/openssl-1.0.2"

So after 3 hours of grinding this fix I found on slackware failed too.  (Of course I didn't invent it.)

/usr/local/src/libreoffice- In function `init_ssl_system':
fe-secure.c:(.text+0xf10): undefined reference to `CRYPTO_num_locks'
fe-secure.c:(.text+0xfc3): undefined reference to `CRYPTO_num_locks'
fe-secure.c:(.text+0xfeb): undefined reference to `CRYPTO_set_id_callback'
fe-secure.c:(.text+0xff7): undefined reference to `CRYPTO_set_locking_callback'
fe-secure.c:(.text+0x1021): undefined reference to `SSL_library_init'
fe-secure.c:(.text+0x1026): undefined reference to `SSL_load_error_strings'
/usr/local/src/libreoffice- In function `destroy_ssl_system':
fe-secure.c:(.text+0x1123): undefined reference to `CRYPTO_set_locking_callback'
fe-secure.c:(.text+0x112d): undefined reference to `CRYPTO_set_id_callback'
collect2: error: ld returned 1 exit status
make[1]: *** [/usr/local/src/libreoffice- /usr/local/src/libreoffice-] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:269: build] Error 2

Can it be bashed into working?   Another -L?  I'm out of my depth here.

Paul Rogers
paulgrogers at fastmail.fm
Rogers' Second Law: "Everything you do communicates."
(I do not personally endorse any additions after this line. TANSTAAFL :-)

More information about the blfs-support mailing list