fontconfig and /lib64 (FC6 64) +garnome-2.17.92



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




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