> From:          Vallo Kallaste <[EMAIL PROTECTED]>
> On Tue, Feb 04, 2003 at 03:19:20PM +0200, Toomas Aas
> <[EMAIL PROTECTED]> 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 | [EMAIL PROTECTED] | 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to