Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Aug 2015 13:16:28 +0200
From:      Carlos J Puga Medina <cpm@fbsd.es>
To:        jason@schwerberg.com
Cc:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: Linker Error when compiling jwhois 4.0_3
Message-ID:  <1440587788.7632.1.camel@fbsd.es>

next in thread | raw e-mail | index | archive | help

--=-fGuuw8rhtPZ+LzKgJiBj
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

> cc -O2 -pipe  -fstack-protector -fno-strict-aliasing=20
> -DSYSCONFDIR=3D"\"/usr/local/etc\""=20
> -DLOCALSTATEDIR=3D"\"/usr/local/var/jwhois\""=20
> -DLOCALEDIR=3D"\"/usr/local/share/locale\"" -O2 -pipe -fstack-protector=
=20
> -fno-strict-aliasing  -L/usr/local/lib -fstack-protector -o jwhois=20
> -L/usr/local/lib -fstack-protector -L/usr/local/lib -lintl=20
> -Wl,-rpath,/usr/local/lib jwhois-dns.o jwhois-lookup.o jwhois-init.o=20
> jwhois-utils.o jwhois-gai_strerror.o jwhois-regex.o jwhois-getopt.o=20
> jwhois-getopt1.o jwhois-jconfig.o jwhois-string.o jwhois-cache.o=20
> jwhois-rwhois.o jwhois-jwhois.o jwhois-whois.o jwhois-http.o=20
> ../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=20
> 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 ins=
talled by package converters/libiconv
Regards,--=20
Carlos Jacobo Puga Medina <cpm@fbsd.es>
PGP fingerprint =3D C60E 9497 5302 793B CC2D  BB89 A1F3 5D66 E6D0 5453
--=-fGuuw8rhtPZ+LzKgJiBj
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAABAgAGBQJV3aAMAAoJEKHzXWbm0FRTpcYH/1EZFHbPGpMdYzFQE9P+YCAd
EB7fFDph4kJw9RdUNp7hLxfEyOUzeDCaTOsxKHj49WHxJVwgPS0GrmcMICv85gGT
9FUCICDO/IX7o8Cd/IAMcL2GpvvxAY0KLKljly5s/seJRvaeKLEYPR0fweB8/A7q
w4A9gKu1p0ZOUEFc6Dv0YVSu57tRHnWtUV7Owz3AqwzFqogo8sO+ZVDtwo0dfI/C
WazPXOFN5Y65CeeijMO9f2YV846vigQdPRCmIQqbTwmhvm62QSyFe596nDmst772
wCsGAQG/y1fSSm3Uth1SDW+nG6OwWkZg6gCBlL3NwjyiPkNDlNWOPZEtnPxeRtM=
=RHUw
-----END PGP SIGNATURE-----

--=-fGuuw8rhtPZ+LzKgJiBj--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1440587788.7632.1.camel>