On 04.11.2012 11:02, Bernd Eggink wrote:
I have been using icewm on Crux-2.7 for years with increasing pleasure, running my favourite window manager icewm. On 2.8, however, compilation runs for a while and then aborts with these lines:
----------------------------------------------------------------------- CXX yimage_imlib.o CXX yimage_xpm.o CXX ytooltip.o LD icewm /usr/bin/ld: warning: libffi.so.5, needed by /usr/lib/gcc/i686-pc-linux-gnu/4.7.2/../../../libgobject-2.0.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: wmapp.o: undefined reference to symbol 'FcConfigAppFontAddDir' /usr/bin/ld: note: 'FcConfigAppFontAddDir' is defined in DSO /usr/lib/libfontconfig.so.1 so try adding it to the linker command line /usr/lib/libfontconfig.so.1: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status make[1]: *** [icewm] Error 1 make[1]: Leaving directory `/local/ports/monoped/icewm/work/src/icewm-1.3.7/src' make: *** [base] Error 2 =======> ERROR: Building '/local/ports/monoped/icewm/icewm#1.3.7-1.pkg.tar.gz' failed. -----------------------------------------------------------------------
Meanwhile I found the reason here: https://fedoraproject.org/wiki/UnderstandingDSOLinkChange In short: Due to a change in the default behaviour of the DSO linking, libfontconfig.so must be listed explicitly. This can be done by changing the Makefile after the configuration: build() # ... ./configure sed -i '/^CORE_LIBS/aCORE_LIBS += -lfontconfig' src/Makefile make (I guess the same issue will pop up in other ports as well). Regards, Bernd -- http://sudrala.de