Linker Error when compiling jwhois 4.0_3

Carlos J Puga Medina cpm at fbsd.es
Wed Aug 26 11:16:48 UTC 2015


> cc -O2 -pipe  -fstack-protector -fno-strict-aliasing 
> -DSYSCONFDIR="\"/usr/local/etc\"" 
> -DLOCALSTATEDIR="\"/usr/local/var/jwhois\"" 
> -DLOCALEDIR="\"/usr/local/share/locale\"" -O2 -pipe -fstack-protector 
> -fno-strict-aliasing  -L/usr/local/lib -fstack-protector -o jwhois 
> -L/usr/local/lib -fstack-protector -L/usr/local/lib -lintl 
> -Wl,-rpath,/usr/local/lib jwhois-dns.o jwhois-lookup.o jwhois-init.o 
> jwhois-utils.o jwhois-gai_strerror.o jwhois-regex.o jwhois-getopt.o 
> jwhois-getopt1.o jwhois-jconfig.o jwhois-string.o jwhois-cache.o 
> jwhois-rwhois.o jwhois-jwhois.o jwhois-whois.o jwhois-http.o 
> ../gl/libgnu.a -lidn
> jwhois-jwhois.o: In function `jwhois_query':
> jwhois.c:(.text+0x4a7): undefined reference to `libiconv_open'
> jwhois.c:(.text+0x523): undefined reference to `libiconv'
> jwhois.c:(.text+0x575): undefined reference to `libiconv_close'
> jwhois.c:(.text+0x598): undefined reference to `libiconv_close'
> cc: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> Makefile:294: recipe for target 'jwhois' failed
> gmake[4]: *** [jwhois] Error 1

jwhois port is missing libiconv dependencyjason
% pkg which -o /usr/local/lib/libiconv.so/usr/local/lib/libiconv.so was installed by package converters/libiconv
Regards,-- 
Carlos Jacobo Puga Medina <cpm at fbsd.es>
PGP fingerprint = C60E 9497 5302 793B CC2D  BB89 A1F3 5D66 E6D0 5453
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20150826/f40282f4/attachment.bin>


More information about the freebsd-ports mailing list