pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/53094: dillo: undefined reference to `SSL_library_init' with OpenSSL 1.1.0g/201803081450Z
>Number: 53094
>Category: pkg
>Synopsis: dillo: undefined reference to `SSL_library_init' with OpenSSL 1.1.0g/201803081450Z
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Mar 12 20:25:00 +0000 2018
>Originator: Jun Ebihara
>Release: NetBSD 8.99.12 201803081450Z
>Organization:
SOUM Corporation
>Environment:
NetBSD rpi 8.99.12 NetBSD 8.99.12 (RPI2) #0: Thu Mar 8 13:38:02 UTC 2018 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/RPI2 evbarm
>Description:
pkgsrc/www/dillo ssl support failed with openssl 1.1.0.
conftest.c:(.text.startup+0xc): undefined reference to `SSL_library_init'
with
/etc/mk.conf:
PKG_OPTIONS.dillo=inet6 ssl
rpi# openssl version
OpenSSL 1.1.0g 2 Nov 2017
rpi# pkg_info |grep openssl
mozilla-rootcerts-openssl-2.1 Wedge for installing and managing mozilla-rootcerts
openssl-1.0.2nnb1 Secure Socket Layer and cryptographic library
configure:6005: checking for SSL_library_init in -lssl
configure:6030: gcc -o conftest -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/us
r/include -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/
freetype2 -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/include -I/usr/X11R7
/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/local
/include -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R
7/lib -Wl,-R/usr/X11R7/lib -L/usr/local/lib conftest.c -lssl -lcrypto >&5
/var/tmp//cce0xRkE.o: In function `main':
conftest.c:(.text.startup+0xc): undefined reference to `SSL_library_init'
configure:6030: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "dillo"
| #define PACKAGE_TARNAME "dillo"
| #define PACKAGE_VERSION "3.0.5"
| #define PACKAGE_STRING "dillo 3.0.5"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "dillo"
| #define VERSION "3.0.5"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_CHAR 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_VOID_P 4
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SETSOCKOPT 1
| #define ENABLE_JPEG 1
| #define ENABLE_PNG 1
| #define ENABLE_GIF 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char SSL_library_init ();
| int
| main ()
| {
| return SSL_library_init ();
| ;
| return 0;
| }
configure:6039: result: no
configure:6055: WARNING: *** No libssl found. Disabling ssl support.***
>How-To-Repeat:
1. NetBSD 8.99.12 201803081450Z
openssl version
OpenSSL 1.1.0g 2 Nov 2017
2. pkg_add pkgsrc/security/openssl
openssl-1.0.2nnb1 Secure Socket Layer and cryptographic library
3. /etc/mk.conf
PKG_OPTIONS.dillo=inet6 ssl
4. cd /usr/pkgsrc/www/dillo
5. make package
6. check log
pkgsrc/www/dillo/work.earmv6hf/dillo-3.0.5/config.log
>Fix:
with openssl 1.0.2k can build dillo package with ssl.
rpi$ uname -a
NetBSD rpi 8.99.12 NetBSD 8.99.12 (RPI2) #0: Sat Jan 20 18:33:09 UTC 2018 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/RPI2 evbarm
rpi$ openssl version
OpenSSL 1.0.2k 26 Jan 2017
Home |
Main Index |
Thread Index |
Old Index