> 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-5.4.5.1/workdir/UnpackedTarball/postgresql/src/interfaces/libpq/libpq.a(fe-secure.o): 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-5.4.5.1/workdir/UnpackedTarball/postgresql/src/interfaces/libpq/libpq.a(fe-secure.o): 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-5.4.5.1/connectivity/Library_postgresql-sdbc-impl.mk:10: /usr/local/src/libreoffice-5.4.5.1/instdir/program/libpostgresql-sdbc-impllo.so] 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 [email protected] Rogers' Second Law: "Everything you do communicates." (I do not personally endorse any additions after this line. TANSTAAFL :-) -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
