Ben Abbott
Mon, 16 Nov 2009 04:56:14 -0800
On Nov 16, 2009, at 5:33 AM, Martin Costabel wrote: > Ben Abbott wrote: > [] >> However, I have no libfontconfig.fink.la file. > > Well, I don't know what you did in the meantime. If you followed the advice > to remove *all* *.la files in /sw/lib and all of its subdirectories, then > libfontconfig.fink.la will have been removed, too, and you should be safe. > >> You mentioned I should *not* try to "reinstall" fontconfig2-dev, but then >> instructed that I do ? ? ? > > The issue usually show up in the following way: > There is the "/usr/lib/libiconv.la: No such file or directory" error, and > trying to track it down one finds that the culprit is libfontconfig.la. > Removing this file works, temporarily, but reinstalling or rebuilding > fontconfig2-dev brings back the broken libfontconfig.la file, because it is > reconstructed from the broken libfontconfig.fink.la. The latter does not > obstruct linking commands by itself, it only serves as a template to recreate > libfontconfig.la. > > In short, if you really opt for removing all *.la files under /sw/lib, you > will avoid the error caused by absent system *.la files. But you may hit > other snags, in kde packages, for example. >
I deleted the *.la files some weeks ago. When I encounter problems with missing .la files, I've simply rebuilt what was missing. I've done as recommended > sudo rm /sw/lib/fontconfig2/lib/libfontconfig.fink.la > fink reinstall fontconfig2-dev My fontconfig2 lib directory how holds ... $ ls /sw/lib/fontconfig2/lib libfontconfig.1.dylib libfontconfig.dylib libfontconfig.la pkgconfig However, I still get the error below (when I try to build Octave using the deverloper's sources). /bin/sh ../libtool --tag=CXX --mode=link g++-4 -I /sw/include -O3 -I/sw/include/freetype2 -I/sw/include -DHAVE_CONFIG_H -mieee-fp -I/usr/X11/include -Wall -W -Wshadow -Wold-style-cast -Wformat -I /sw/include -O3 -I/sw/include/freetype2 -I/sw/include -D_THREAD_SAFE -I /sw/include -O3 -I/sw/include/freetype2 -I/sw/include -release 3.3.50+ -L/sw/lib/fltk-aqua/lib -L/sw/lib/flex/lib -L/sw/lib/gcc4.4/lib/ -L/sw/lib -lgfortran -lGraphicsMagick -lfltk_gl -lfltk -lpthread -o liboctinterp.la -rpath /sw/lib/octave-3.3.50+ liboctinterp_la-Cell.lo liboctinterp_la-bitfcns.lo <***snip***> liboctinterp_la-Quad-opts.lo ../liboctave/liboctave.la ../libcruft/libcruft.la -lfftw3 -lfftw3f -lhdf5 -lz -L/usr/X11/lib -lfontconfig -Wl,-framework -Wl,OpenGL -L/usr/X11/lib -lX11 -lreadline -lncurses -framework Accelerate -lm -L/sw/lib -lfreetype -lz -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices -Wl,-framework -Wl,OpenGL /sw/lib/gcc4.4/lib/libgfortran.dylib -lm -L/sw/lib -lfreetype -lz -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices -Wl,-framework -Wl,OpenGL libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be moved libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be moved libtool: link: warning: `/sw/lib/gcc4.4/lib//libgfortran.la' seems to be moved grep: /usr/lib/libiconv.la: No such file or directory /sw/bin/sed: can't read /usr/lib/libiconv.la: No such file or directory libtool: link: `/usr/lib/libiconv.la' is not a valid libtool archive make[3]: *** [liboctinterp.la] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Ben ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users