-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David R. Morrison wrote:
> 
> 
> Begin forwarded message:
> 
>> *From: *Brad Koehn <[email protected] <mailto:[email protected]>>
>> *Date: *November 30, 2009 11:14:28 AM PST
>> *To: *[email protected] <mailto:[email protected]>
>> *Subject: **Error building gd2-2.0.35-5 on snow leopard*
>>
>> I'm getting the following error when I attempt to build on Snow Leopard:
>>
>> /bin/sh ./libtool --tag=CC --mode=link gcc  -g -O2  -L/sw/lib
>> -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices 
>> -L/sw/lib -L/sw/lib/fontconfig2/lib -L/sw/lib -L/usr/X11R6/lib
>> -L/sw/lib/fontconfig2/lib -o libgd.la <http://libgd.la/> -rpath
>> /sw/lib -version-info 2:0:0  gd.lo gdfx.lo gd_security.lo gd_gd.lo
>> gd_gd2.lo gd_io.lo gd_io_dp.lo gd_gif_in.lo gd_gif_out.lo
>> gd_io_file.lo gd_io_ss.lo gd_jpeg.lo gd_png.lo gd_ss.lo gd_topal.lo
>> gd_wbmp.lo gdcache.lo gdfontg.lo gdfontl.lo gdfontmb.lo gdfonts.lo
>> gdfontt.lo gdft.lo gdhelpers.lo gdkanji.lo gdtables.lo gdxpm.lo
>> wbmp.lo -L/sw/lib -liconv -R/sw/lib -lXpm -lX11 -ljpeg -lfontconfig
>> -lfreetype -lpng12 -lz
>> grep: /usr/lib/libiconv.la <http://libiconv.la/>: No such file or
>> directory
>> sed: /usr/lib/libiconv.la <http://libiconv.la/>: No such file or directory
>> libtool: link: `/usr/lib/libiconv.la <http://libiconv.la/>' is not a
>> valid libtool archive
>> make[2]: *** [libgd.la <http://libgd.la/>] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>> ### execution of make failed, exit code 2
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sw/bin/dpkg-lockwait -r fink-buildlock-gd2-2.0.35-5
>> (Reading database ... 83935 files and directories currently installed.)
>> Removing fink-buildlock-gd2-2.0.35-5 ...
>> Failed: phase compiling: gd2-2.0.35-5 failed
>>
>> Oddly /sw/lib/libiconv.la <http://libiconv.la/> exists; I'm not sure
>> why it's not being found on the path, but then again I'm not much of a
>> libtool guy.
> 
> 

We'll assume that you've updated your Fink installation from 10.5.

The answer is that _something_ has been built to look for
/usr/lib/libiconv.la.

Try

        find /sw/lib -name *.la | xargs grep -l /usr/lib/libiconv.la

which will show you the names of all the various .la files from Fink
that have /usr/lib/libiconv.la hardcoded.  I'm not completely sure if
it's OK just to feed that into sed and convert /usr/lib/libiconv.la to
/sw/lib/libiconv.la, but that might be workable.

- --
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksUIw0ACgkQB8UpO3rKjQ8E1gCcD2AZUKoPGPh8qWl9u5m+OaQH
6ZoAnA3Nf8NZlk7sIiJVjW/Di8JsDCPX
=YdfQ
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to