Date: Thu, 15 Nov 2018 20:12:56 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 233243] www/nginx builds against OpenSSL111 in poudriere but sets the library path to /usr/lib Message-ID: <bug-233243-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233243 Bug ID: 233243 Summary: www/nginx builds against OpenSSL111 in poudriere but sets the library path to /usr/lib Product: Ports & Packages Version: Latest Hardware: i386 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: joneum@FreeBSD.org Reporter: reko.turja@liukuma.net Flags: maintainer-feedback?(joneum@FreeBSD.org) Assignee: joneum@FreeBSD.org It seems that www/nginx builds nicely against OpenSSL 1.1.1 in Poudriere environment, but then linker uses /usr/lib for libcrypto.so and libssl.so: /usr/local/sbin/nginx: libthr.so.3 =3D> /lib/libthr.so.3 (0x28122000) libcrypt.so.5 =3D> /lib/libcrypt.so.5 (0x28145000) libpcre.so.1 =3D> /usr/local/lib/libpcre.so.1 (0x28164000) libssl.so =3D> /usr/lib/libssl.so (0x281f2000) libcrypto.so =3D> /usr/lib/libcrypto.so (0x2824b000) libz.so.6 =3D> /lib/libz.so.6 (0x283dc000) libc.so.7 =3D> /lib/libc.so.7 (0x283f2000) service nginx restart Performing sanity check on nginx configuration: /usr/local/sbin/nginx: Undefined symbol "OPENSSL_init_ssl" When I do: root@xxx:/usr/lib # rm libssl.so root@xxx:/usr/lib # rm libcrypto.so root@xxx:/usr/lib # ln -s /usr/local/lib lib/ libdata/ libexec/=20 root@xxx:/usr/lib # ln -s /usr/local/lib/libcrypto.so.11 libcrypto.so root@xxx:/usr/lib # ln -s /usr/local/lib/libssl.so.11 libssl.so root@xxx:/usr/lib # service nginx restart Performing sanity check on nginx configuration: nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful Stopping nginx. Performing sanity check on nginx configuration: nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful Starting nginx. root@xxx:/usr/lib #=20 Nginx starts as expected. My make.conf for poudriere jail is: DEFAULT_VERSIONS +=3D ssl=3Dopenssl111 python=3D3.6 python2=3D2.7 py= thon3=3D3.6 perl5=3D5.26 OPTIONS_UNSET +=3D GSSAPI_BASE OPTIONS_SET +=3D GSSAPI_NONE OPTIONS_UNSET +=3D X11 MYSQL GNOME NIS DEBUG HELP GNUTLS NLS DBUS= SOUND \ ALSA PULSEAUDIO DOCBOOK CUPS TESTS HTMLDOCS BONJOUR GSSAPI APIDOCS WITH_PKG=3Dyes and src.conf: WITHOUT_UNBOUND=3Dyes WITHOUT_APM=3Dyes WITHOUT_ATM=3Dyes WITHOUT_BLUETOOTH=3Dyes WITHOUT_CDDL=3Dyes WITHOUT_FLOPPY=3Dyes WITHOUT_FORTRAN=3Dyes WITHOUT_GSSAPI=3Dyes WITHOUT_I4B=3Dyes WITH_IDEA=3Dyes WITHOUT_INFO=3Dyes WITHOUT_IPFILTER=3Dyes WITHOUT_IPFW=3Dyes WITHOUT_IPX=3Dyes WITHOUT_KERBEROS=3Dyes WITHOUT_LDNS=3Dyes WITHOUT_NIS=3Dyes WITHOUT_PROFILE=3Dyes WITHOUT_RCMDS=3Dyes WITHOUT_SENDMAIL=3Dyes WITHOUT_WPA_SUPPLICANT_EAPOL=3Dyes WITHOUT_WIRELESS=3Dyes WITHOUT_ZFS=3Dyes WITHOUT_NTP=3DYES WITHOUT_NIS=3DYES --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233243-7788>