I'm not sure what the appropriate fix is, but fontconfig wouldn't install
with the following error:

"/usr/lib/libexpat.so: could not read symbols: File in wrong format"

Looking through, in the work dir there was EXPAT_LIBS = -lexpat
then doing ./configure --help I saw --with-expat-lib=DIR

So I did a make clean and then edited the top level make file to include:
--with-expat-lib=/usr/lib64

It built and installed, so far so good:



diff -r Makefile Makefile.old
21c21
< CONFIGURE_ARGS = $(DIRPATHS) --with-confdir=$(sysconfdir)/fonts
--with-add-fonts=$(sharedstatedir)/fonts/truetype,/usr/lib/X11/fonts
--disable-docs --with-expat-lib=/usr/lib64
---
CONFIGURE_ARGS = $(DIRPATHS) --with-confdir=$(sysconfdir)/fonts
--with-add-fonts=$(sharedstatedir)/fonts/truetype,/usr/lib/X11/fonts
--disable-docs

diff -u Makefile Makefile.old
--- Makefile    2007-03-01 07:44:45.000000000 -0600
+++ Makefile.old        2007-03-01 07:48:13.000000000 -0600
@@ -18,7 +18,7 @@
BUILD_SCRIPTS = $(WORKSRC)/Makefile
INSTALL_SCRIPTS = $(WORKSRC)/Makefile

-CONFIGURE_ARGS = $(DIRPATHS) --with-confdir=$(sysconfdir)/fonts
--with-add-fonts=$(sharedstatedir)/fonts/truetype,/usr/lib/X11/fonts
--disable-docs --with-expat-lib=/usr/lib64
+CONFIGURE_ARGS = $(DIRPATHS) --with-confdir=$(sysconfdir)/fonts
--with-add-fonts=$(sharedstatedir)/fonts/truetype,/usr/lib/X11/fonts
--disable-docs
-- 
garnome-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/garnome-list

Reply via email to