Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 2003 22:14:13 +1300
From:      Glenn Todd <g.todd@internet.co.nz>
To:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Cannot find lgiconv when building libwmf
Message-ID:  <20030113091413.GG4137@Hawk.internet.co.nz>

next in thread | raw e-mail | index | archive | help
Currently running FreeBSD 4.7-STABLE #15 and cvsup'd the ports tree in 
late December.

Have installed gnome2 and was trying to build libwmf and got the 
following error.  What is wrong?  I have two libxml libs in 
/usr/local/lib, is this an issue?

Glenn

---part listing of /usr/local/lib
-rw-r--r--  1 root  wheel  523878  6 Jan 22:58 libxml.a
lrwxr-xr-x  1 root  wheel      11  6 Jan 22:58 libxml.so -> libxml.so.5
-rwxr-xr-x  1 root  wheel  495225  6 Jan 22:58 libxml.so.5
-rw-r--r--  1 root  wheel  878164 13 Jan 06:52 libxml2.a
-rwxr-xr-x  1 root  wheel     673 12 Sep  2001 libxml2.la
lrwxr-xr-x  1 root  wheel      12 13 Jan 06:52 libxml2.so -> 
libxml2.so.5
-rwxr-xr-x  1 root  wheel  810023 13 Jan 06:52 libxml2.so.5


-----build error

Building for libwmf-0.2.7
make  all-recursive
Making all in .
Making all in src
Making all in extra
Making all in trio
Making all in gd
Making all in ipa
Making all in .
Making all in convert
/bin/sh ../../libtool --mode=link cc  -O -pipe  
-I/usr/local/include/freetype2 -I/usr/local/include  
-I/usr/X11R6/include  -I/usr/local/include/libxml2 
-I/usr/local/include  -I/usr/local/include -I/usr/local/include 
-L../../src/.libs   -L/usr/local/lib -lfreetype  -L/usr/X11R6/lib  -lSM 
-lICE -lX11  -L/usr/local/lib -lxml2 -lz -L/usr/local/lib -liconv -lm 
-L/usr/local/lib -L/usr/local/lib -ljpeg -L/usr/local/lib -lpng -lz -lm 
-o wmf2eps  wmf2eps.o ../libwmf.la ../libwmflite.la cc -O -pipe 
-I/usr/local/include/freetype2 -I/usr/local/include 
-I/usr/X11R6/include -I/usr/local/include/libxml2 -I/usr/local/include 
-I/usr/local/include -I/usr/local/include -o .libs/wmf2eps wmf2eps.o  
-L/usr/ports/graphics/libwmf/work/libwmf-0.2.7/src/.libs 
-L/usr/local/lib -L/usr/X11R6/lib ../.libs/libwmf.so 
/usr/ports/graphics/libwmf/work/libwmf-0.2.7/src/.libs/libwmflite.so 
-lfreetype -lSM -lICE -lX11 /usr/local/lib/libxml2.so -lgiconv -liconv 
-ljpeg -lpng -lz ../.libs/libwmflite.so -lm -Wl,--rpath 
-Wl,/usr/local/lib
/usr/libexec/elf/ld: cannot find -lgiconv
*** Error code 1

Stop in /usr/ports/graphics/libwmf/work/libwmf-0.2.7/src/convert.
*** Error code 1

Stop in /usr/ports/graphics/libwmf/work/libwmf-0.2.7/src.
*** Error code 1

Stop in /usr/ports/graphics/libwmf/work/libwmf-0.2.7.
*** Error code 1

Stop in /usr/ports/graphics/libwmf/work/libwmf-0.2.7.
*** Error code 1

Stop in /usr/ports/graphics/libwmf.

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?20030113091413.GG4137>