[Bug 219937] security/hashcat: build fails if libiconv port installed
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jun 12 11:12:44 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219937
Bug ID: 219937
Summary: security/hashcat: build fails if libiconv port
installed
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: lifanov at freebsd.org
Reporter: z7dr6ut7gs at snkmail.com
Flags: maintainer-feedback?(lifanov at freebsd.org)
Assignee: lifanov at freebsd.org
If the converters/libiconv port is installed, security/hashcat (3.6.0) has the
following error:
================
cc -O2 -pipe -fstack-protector -isystem /usr/local/include
-fno-strict-aliasing -std=c99 -Iinclude -IOpenCL -Iinclude/lzma_sdk src/main.c
libhashcat.so -L. -lhashcat -fstack-protector -lpthread -DCOMPTIME=1497244702
-DVERSION_TAG=\"pull/1273/head\" -DINSTALL_FOLDER=\"/usr/local/bin\"
-DSHARED_FOLDER=\"/usr/local/share/hashcat\"
-DDOCUMENT_FOLDER=\"/usr/local/share/doc/hashcat\" -o hashcat
libhashcat.so: undefined reference to `libiconv'
libhashcat.so: undefined reference to `libiconv_close'
libhashcat.so: undefined reference to `libiconv_open'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [src/Makefile:394: hashcat] Error 1
==================
This is because the compilation looks in /usr/local/include first (due to
USES=localbase) when building a couple .c files that include iconv.h
Noticed on 10.x and 11.x.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list