Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2003 19:07:02 +0200
From:      "Toomas Aas" <toomas.aas@raad.tartu.ee>
To:        Vallo Kallaste <kalts@estpak.ee>, questions@freebsd.org
Subject:   Re: xmlrpc-epi
Message-ID:  <200302051707.h15H7tV14125@lv.raad.tartu.ee>
In-Reply-To: <20030205082002.GA1085@kevad.internal>
References:  <200302041320.h14DKeb27860@lv.raad.tartu.ee>

next in thread | previous in thread | raw e-mail | index | archive | help
> From:          Vallo Kallaste <kalts@estpak.ee>
> On Tue, Feb 04, 2003 at 03:19:20PM +0200, Toomas Aas
> <toomas.aas@raad.tartu.ee> wrote:
> 
> > If anyone has successfully built xmlrpc-epi ver 0.51
> > (http://xmlrpc-epi.sourceforge.net) under FreeBSD 4.x, I would be
> > interested to know how. 

> > gcc -I/usr/local/include -o .libs/sample sample.o
> > -L/usr/local/lib -L/home/xtee /lib ../src/.libs/libxmlrpc.so
> > -Wl,--rpath -Wl,/home/xtee/lib ../src/.libs/libxmlrpc.so:
> > undefined reference to `iconv_open' ../src/.libs/libxmlrpc.so:
> > undefined reference to `iconv_close' ../src/.libs/libxmlrpc.so:
> > undefined reference to `iconv' gmake[2]: *** [sample] Error 1
> > gmake[2]: Leaving directory
> > `/home/install/src/xmlrpc-epi-0.51/sample'
> > 
> > I do have libiconv-1.8_2 port installed and the build process can
> > find it (otherwise it would complain about missing iconv.h).
> 
> It's missing functions found in libiconv library. The library search
> path is right, try to add -liconv at the end of line, so it'll pick
> up the library.

Thanks! Problem solved.

So, in conclusion, if you need to build xmlrpc-epi ver 0.51 on FreeBSD, 
you need to set LDFLAGS=-L/usr/local/lib -liconv and 
CFLAGS=/usr/local/include (if you have libiconv installed from ports to 
its default location at /usr/local
--
Toomas Aas | toomas.aas@raad.tartu.ee | http://www.raad.tartu.ee/~toomas/
* I went to a general store, but they wouldn't let me buy anything specific.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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