Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2013 07:36:04 -0800 (PST)
From:      =?iso-8859-1?Q?Leonardo_M=2E_Ram=E9?= <martinrame@yahoo.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: /usr/bin/ld: cannot find -liconv
Message-ID:  <1359300964.71525.YahooMailNeo@web126204.mail.ne1.yahoo.com>
In-Reply-To: <1359300490.69232.YahooMailNeo@web126205.mail.ne1.yahoo.com>
References:  <1359300490.69232.YahooMailNeo@web126205.mail.ne1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----=0A=0A> From: Leonardo M. Ram=E9 <martinrame@ya=
hoo.com>=0A> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd=
.org>=0A> Cc: =0A> Sent: Sunday, January 27, 2013 12:28 PM=0A> Subject: /us=
r/bin/ld: cannot find -liconv=0A> =0A> Hi, I'm trying to compile FreePascal=
 from sources, but it keeps complaining =0A> about cannot find -liconv:=0A>=
 =0A> When I do "gmake all" on fpc src directory, I get this:=0A> =0A> Outp=
ut of ldconfig -r|grep iconv:=0A> =0A> 19:-lkiconv.4 =3D> /lib/libkiconv.so=
.4=0A> 112:-liconv.3 =3D> /usr/local/lib/libiconv.so.3=0A> 433:-lbiconv.2 =
=3D> /usr/local/lib/libbiconv.so.2=0A> 434:-lticonv.6 =3D> /usr/local/lib/l=
ibticonv.so.6=0A> =0A> =0A> Output of gmake all:=0A> =0A> ...=0A> /usr/bin/=
ld: cannot find -liconv=0A> fpdoc.pp(404,1) Error: Error while linking=0A> =
fpdoc.pp(404,1) Fatal: There were 1 errors compiling module, stopping=0A> F=
atal: Compilation aborted=0A> gmake[3]: *** [fpdoc] Error 1=0A> gmake[3]: L=
eaving directory `/usr/home/martin/fpc/utils/fpdoc'=0A> gmake[2]: *** [fpdo=
c_all] Error 2=0A> gmake[2]: Leaving directory `/usr/home/martin/fpc/utils'=
=0A> gmake[1]: *** [utils_all] Error 2=0A> gmake[1]: Leaving directory `/us=
r/home/martin/fpc'=0A> gmake: *** [build-stamp.x86_64-freebsd] Error 2=0A> =
=0A> =0A> This is a FreeBsd 9.1 RELEASE x86-64 machine.=0A> =0A> What I'm d=
oing wrong?.=0A> =A0=0A=0A=0AThe solution was doing:=0A=0Agmake all OPT=3D"=
-Fl/usr/local/lib"=0A=0A=0A=A0=0ALeonardo M. Ram=E9=0Ahttp://leonardorame.b=
logspot.com=0A



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