Re: pango 1.8.2 build problem



Add something like

LDFLAGS=-liconv and reconfigure.


On Thu, 26 Jan 2006 david ctr delano faa gov wrote:

>
>
>
>
> Hello,
>
> I cannot get pango 1.8.2 to compile using gcc on solaris 9.  I have the
> following dependancies installed:
> expat-1.95.5
> freetype-2.1.9
> fontconfig-2.2.98
> glib-2.6.4
>
> LD_LIBRARY_PATH is set to
> LD_LIBRARY_PATH=/usr/X11R6/lib:/usr/local/lib:/usr/lib:/usr/openwin/lib
> and
> PKG_CONFIG_PATH is
> PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/X11R6/lib/pkgconfig:/usr/lib/pkgconfig
>
> I get the following errors when running make:
>
> # make
> make  all-recursive
> Making all in pango
> make  all-recursive
> Making all in opentype
> /bin/bash ../../libtool --mode=link gcc  -g -O2 -Wall    -o ottest
> ottest.o disasm.o libpango-ot.la     -L/usr/local/lib -lfontconfig
> -L/usr/local/lib -R/usr/local/lib -lfreetype -lz
> gcc -g -O2 -Wall -o ottest ottest.o disasm.o  ./.libs/libpango-ot.a
> -L/usr/local/lib /usr/local/lib/libfontconfig.so -L/usr/lib
> -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib -L/usr/openwin/lib
> /usr/local/lib/libexpat.so /usr/local/lib/libfreetype.so -lz
> -R/usr/local/lib -R/usr/local/lib
> Undefined                       first referenced
>  symbol                             in file
> libiconv_open                       /usr/local/lib/libfontconfig.so
> libiconv                            /usr/local/lib/libfontconfig.so
> ld: fatal: Symbol referencing errors. No output written to ottest
> collect2: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `ottest'
> Current working directory /stage/bluefish/pango-1.8.2/pango/opentype
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /stage/bluefish/pango-1.8.2/pango
> *** Error code 1
> make: Fatal error: Command failed for target `all'
> Current working directory /stage/bluefish/pango-1.8.2/pango
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /stage/bluefish/pango-1.8.2
> *** Error code 1
> make: Fatal error: Command failed for target `all'
>
>
> This symbols look like they are defined in /usr/local/include/iconv.h  so
> I'm not sure why this is happening.  Any help would be appreciated.
>
> Thanks.
> David Delano
> Solaris System Administrator
> ATO-W
> Federal Aviation Administration
> _______________________________________________
> gtk-i18n-list mailing list
> gtk-i18n-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-i18n-list
>
>

--behdad
http://behdad.org/

"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
	-- Dan Bern, "New American Language"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]