Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Aug 2015 13:37:36 +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:  <1440589056.7632.3.camel@fbsd.es>

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

--=-zmSU8K2YjjzxS5t2NPHd
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 dependency

% pkg which -o /usr/local/lib/libiconv.so/usr/local/lib/libiconv.so was
installed 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
--=20
Carlos Jacobo Puga Medina <cpm@fbsd.es>
PGP fingerprint =3D C60E 9497 5302 793B CC2D  BB89 A1F3 5D66 E6D0 5453
--=-zmSU8K2YjjzxS5t2NPHd
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

iQEcBAABAgAGBQJV3aUAAAoJEKHzXWbm0FRTlLkIALYGSmxjBh0J1LAzb0yWO2Ch
Bt9Mb4FuwmFjD9v16lcvakn9HMZshakJ3edCZXuhbavmdGp+JWKcuFg6f4cZ8wnJ
k8uYO/K1sfUAHm+tLb4+H1XW7UaX2hYcdcBZSIkJHQCzAFqcA6XbGRRDzxitNNn5
xAyCGOh0FD/FvRsqb6k5qYMxO+IprVpVh5XfwFJWTih/tYP/TZec0PXC+E2XvvNk
0K6maCbGWA/czrL9EpfcqzrfjQcKeq6qe2oR/NqWvDPaP27O9JSDPRmcMm301FZU
EomrJBMDbC6Nz9DuhA7WFVY9tea1f4MPz+3vFsdpfaFkUTE6sDNvW/pAeObas+o=
=6MUC
-----END PGP SIGNATURE-----

--=-zmSU8K2YjjzxS5t2NPHd--




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