I keep hitting a build error in gd, with a linking error for iconv). I
put up the last install log:
http://math.mit.edu/~kedlaya/sage-434rc0.log
and the libtool script from the gd build directory:
http://math.mit.edu/~kedlaya/libtool
The latter has the following odd feature which may be causing the
problem. When the libtool script defines sys_lib_search_path_spec, it
includes
/scratch/sage-4.3.4.rc0/local/lib/../lib64/
which does not exist, but it doesn't include
/scratch/sage-4.3.4.rc0/local/lib/
which is where libiconv.so is actually located. Is this a symptom of
32/64 confusion?
Kiran
In order to build, successfully, Sage, I need to do something like
$ PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
$ export PATH
and then proceed to build Sage (without quitting this shell, cause
then you'd get the unneeded parts of the PATH back)
HTH,
Dmitrii
There seems to be a configuration issue. The spkg runs the config
script with the options
---
./configure --prefix=/scratch/sage-4.3.4.rc0/local --without-jpeg --
without-x --with-zlib=/scratch/sage-4.3.4.rc0/local --with-freetype=/
scratch/sage-4.3.4.rc0/local --without-xpm
---
If I remove the --with-freetype option, the build succeeds. Why that
is the case is completely beyond me!
Kiran
42
ImportError: dlopen(/usr/local/src/sage/sage-4.3.4.rc0/local/lib/
python2.6/site-packages/sage/matrix/matrix_mod2_dense.so, 2): Symbol
not found: _iconv_close
Referenced from: /usr/local/src/sage/sage-4.3.4.rc0/local/lib//libgd.
2.dylib
Expected in: /usr/local/src/sage/sage-4.3.4.rc0/local/lib//libiconv.
2.dylib
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.
(reinstalling iconv-1.13.1.spkg does not help)