[Bug 266546] lang/php80 Fails to build with openssl from ports
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 22 Sep 2022 12:42:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266546 Bug ID: 266546 Summary: lang/php80 Fails to build with openssl from ports Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: tz@freebsd.org Reporter: fsbruva@yahoo.com Flags: maintainer-feedback?(tz@freebsd.org) Assignee: tz@freebsd.org Created attachment 236745 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=236745&action=edit php80: Patch to consult opensslconf.h for compiled options. If openssl is configured & built with any combination of the supported 'make config' options unchecked (deselected): MD2 MD4 RMD160 then when building php, linking results in this output (or similar): ld: error: undefined symbol: EVP_md4 >>> referenced by openssl.c >>> ext/openssl/openssl.o:(php_openssl_get_evp_md_from_algo) >>> did you mean: EVP_md5 >>> defined in: /usr/local/lib/libcrypto.so This issue has been reported upstream at https://github.com/php/php-src/issues/8430 and fix suggested at https://github.com/php/php-src/pull/8431 , but the PR has become stalled for several months now. In the meantime, this patch enables php to be built with rational avoidance of obsolete and unsafe hash functions. -- You are receiving this mail because: You are the assignee for the bug.