Hi Alexander, Thanks for the reply.
I checked the hints you gave in the linked mail. The search as given gave no results, but when I stripped the directory path from the library name was more informative: find /sw/lib -name *.la | xargs grep -l libfontconfig.1.3.0.dylib /sw/lib/fontconfig2/lib/libfontconfig.fink.la /sw/lib/fontconfig2/lib/libfontconfig.la The .la is a symlink to the .fink.la. When I look in it, I find: # The name that we can dlopen(3). dlname='libfontconfig.1.dylib' # Names of this library. library_names='libfontconfig.1.dylib libfontconfig.dylib libfontconfig.1.3.0.dylib' # ...snip... # Directory that this library needs to be installed in: libdir=/sw/lib/fontconfig2/lib Then dpkg -S told me that this .la file is part of the fontconfig2-dev package. Rebuilding that package did not solve the problem: no new files showed up in the /sw/lib/fontconfig2/lib directory and the *.la file still mentioned the non-existing 1.3 dylib. Building cairo still failed with the same error as before. For reference I peeked into /sw/lib/freetype219/lib; the .la file there is very similar, it gives a list of library_names, and all of them indeed exist. So I maybe the libfontconfig.1.dylib should actually be named libfontconfig.1.3.dylib or so. When I manually added a libfontconfig.1.3.dylib symlink to the libfontconfig.1.dylib file, the cairo project got built just fine. I proceeded with 'fink install gtk+2' and installed xchat, and it seems to work. So I think that there might be some small bug in the installation scripts of fontconfig2: the .la file and the actually installed dylibs are inconsistent with eachother. Thanks, David On Thu, Feb 12, 2009 at 2:30 AM, Alexander Hansen <[email protected]> wrote: > David Boersma wrote: >> Hello, >> >> I just installed fink on my new MacBook (the aluminum one), using the >> source tar ball 0.28.1. Leopard is up-to-date on my machine. >> >> Then I tried to install some package (xchat) which required about 100 >> other packages, lots of gnome stuff. At my first try it got stuck on a >> linking problem with gtk+2, libXrandr.2.0.0.dylib was missing, which >> according to FAQ 7.8 on the finkproject.org web site should be >> solvable by installing the newest Xcode. I did that (3.1.2). Then I >> wiped the /sw directory and tried a new install from scratch. This >> time it seems to be crashing *earlier*, namely while building cairo (a >> dependency of gtk+2): >> >> gcc -dynamiclib -o .libs/libcairo.2.17.5.dylib >> .libs/libcairo_la-cairo.o .libs/libcairo_la-cairo-arc.o [SNIP: many >> *.o files] .libs/libcairo_la-cairo-ft-font.o >> -L/sw/lib/freetype219/lib -L/sw/lib/fontconfig2/lib -L/sw/lib >> /sw/lib/freetype219/lib/libfreetype.dylib -lz >> /sw/lib/fontconfig2/lib/libfontconfig.1.3.0.dylib >> /usr/lib/libiconv.dylib /usr/lib/libz.dylib /sw/lib/libglitz.dylib >> /usr/lib/libm.dylib -lm /sw/lib/libpng12.dylib >> /usr/X11/lib/libXrender.1.3.0.dylib -L/usr/X11/lib >> /usr/X11/lib/libXau.6.0.0.dylib /usr/X11/lib/libXdmcp.6.0.0.dylib >> /usr/X11/lib/libX11.6.2.0.dylib /sw/lib/libpixman-1.dylib >> /sw/lib/libexpat.dylib -Wl,-framework -Wl,CoreServices -Wl,-framework >> -Wl,ApplicationServices -Wl,-framework -Wl,ApplicationServices >> -install_name /sw/lib/libcairo.2.dylib -compatibility_version 20 >> -current_version 20.5 >> i686-apple-darwin9-gcc-4.0.1: >> /sw/lib/fontconfig2/lib/libfontconfig.1.3.0.dylib: No such file or >> directory >> make[2]: *** [libcairo.la] Error 1 >> make[1]: *** [all-recursive] Error 1 >> make: *** [all] Error 2 >> ### execution of /var/tmp/tmp.1.QHJhGn failed, exit code 2 >> Removing runtime build-lock... >> Removing build-lock package... >> /sw/bin/dpkg-lockwait -r fink-buildlock-cairo-1.6.4-2 >> (Reading database ... 4453 files and directories currently installed.) >> Removing fink-buildlock-cairo-1.6.4-2 ... >> Failed: phase compiling: cairo-1.6.4-2 failed >> >> >> The directory /sw/lib/fontconfig2/lib actually exists and contains: >> >> libfontconfig.1.dylib libfontconfig.fink.la pkgconfig >> libfontconfig.dylib libfontconfig.la >> >> >> So it looks like the cairo package expects a newer fontconfig2 package >> than the default fink install is giving me. Is this a bug in some of >> the packages or did I do something wrong myself? >> >> Thanks for any hints, >> David Boersma >> >> > This doesn't have anything directly to do with cairo. *something* on > your system appears to have encoded information about fontconfig2 > libraries that don't correspond to those from the current Leopard package. > > Someone had posted concerning this issue earlier, and my reply is at > > http://thread.gmane.org/gmane.os.macosx.fink.beginners/22500/focus=22501 > > which includes a couple of commands to try out. The original poster in > that thread never replied back, so we don't have any likely candidates > in mind just yet. > > -- > Alexander Hansen > Fink User Liaison > > ------------------------------------------------------------------------------ _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
