Hi Kiran,

On Thu, Mar 4, 2010 at 2:36 PM, Kiran Kedlaya <ksk...@gmail.com> wrote:
> As expected based on my experience with 4.3.3, I got a build error
> building 4.3.4.alpha0, though this time it was a linking error with gd
> rather than cddlib. Again, this is Fedora 10 on a 64-bit system, but
> on a 32-bit network, so there exist 32-bit libraries findable via NFS
> (under /usr/local). But this time I don't see any obvious evidence
> that this is the source of the trouble.
> -----
> /bin/sh ./libtool --tag=CC --mode=link gcc  -fPIC -g -I"/scratch/
> sage-4.3.4.alph
> a0/local/include" -I/scratch/sage-4.3.4.alpha0/local/include/
> freetype2/  -L/scra
> tch/sage-4.3.4.alpha0/local/lib -Wl,--rpath -Wl,/scratch/
> sage-4.3.4.alpha0/local
> /lib  -L/scratch/sage-4.3.4.alpha0/local/lib  -o annotate
> annotate.o ./libgd.la
>  -lfontconfig -lfreetype -lpng12 -lz -lm
> gcc -fPIC -g -I/scratch/sage-4.3.4.alpha0/local/include -I/scratch/
> sage-4.3.4.al
> pha0/local/include/freetype2/ -Wl,--rpath -Wl,/scratch/
> sage-4.3.4.alpha0/local/l
> ib -o .libs/annotate annotate.o  -L/scratch/sage-4.3.4.alpha0/local/
> lib ./.libs/
> libgd.so -lfontconfig /scratch/sage-4.3.4.alpha0/local/lib/
> libfreetype.so /scrat
> ch/sage-4.3.4.alpha0/local/lib/libpng12.so -lz -lm -Wl,--rpath -Wl,/
> scratch/sage
> -4.3.4.alpha0/local/lib
> ./.libs/libgd.so: undefined reference to `libiconv'
> ./.libs/libgd.so: undefined reference to `libiconv_close'
> ./.libs/libgd.so: undefined reference to `libiconv_open'
> collect2: ld returned 1 exit status

The failure here is likely because gd requires that iconv be built
first. With Sage 4.3.4.alpha0, this is not the case in the dependency
rule for building gd. A fix is to make iconv part of the dependency
rule for building gd. See ticket #8432 for an implementation of this
approach.

-- 
Regards
Minh Van Nguyen

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to