[Bug 267312] sysutils/dar: Fix failure to detect libgcrypt
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 24 Oct 2022 18:57:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267312 Bug ID: 267312 Summary: sysutils/dar: Fix failure to detect libgcrypt Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: bofh@freebsd.org Reporter: yasu@freebsd.org CC: graham@menhennitt.com.au Assignee: bofh@freebsd.org Flags: maintainer-feedback?(bofh@freebsd.org) Flags: merge-quarterly? Created attachment 237584 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=237584&action=edit Patch file Currently configure script fails to detect libgcrypt as following. configure:24491: checking for libgcrypt usability configure:24561: c++ -o conftest -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -fstack-protector-strong conftest.cpp -llzma -lbz2 -lz -ldl >&5 ld: error: undefined symbol: gcry_check_version >>> referenced by conftest.cpp >>> /tmp/conftest-5a5403.o:(main) c++: error: linker command failed with exit code 1 (use -v to see invocation) It happens because '-L/usr/local/lib' is lacked from options to compile conftest. So fix it by adding 'localbase' to USES. Bump PORTREVISION as GCRYPT option is ON by default. -- You are receiving this mail because: You are the assignee for the bug.