- 论坛徽章:
- 0
|
64位的系统 redhat as 4 update 4
./configure --with-png --with-freetype --with-jpeg
make
到这里出问题了 make install
[root@localhost gd-2.0.33]# make install
Making install in config
make[1]: Entering directory `/home/yonghu/gd-2.0.33/config'
make[2]: Entering directory `/home/yonghu/gd-2.0.33/config'
test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin"
/usr/bin/install -c 'gdlib-config' '/usr/local/bin/gdlib-config'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/yonghu/gd-2.0.33/config'
make[1]: Leaving directory `/home/yonghu/gd-2.0.33/config'
Making install in test
make[1]: Entering directory `/home/yonghu/gd-2.0.33/test'
make[2]: Entering directory `/home/yonghu/gd-2.0.33/test'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/yonghu/gd-2.0.33/test'
make[1]: Leaving directory `/home/yonghu/gd-2.0.33/test'
make[1]: Entering directory `/home/yonghu/gd-2.0.33'
/bin/sh ./libtool --mode=link gcc -g -O2 -L/usr/local/lib -Wl,-rpath,/usr/local/lib -o libgd.la -rpath /usr/local/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 -ljpeg -lpng12 -lz -lm
rm -fr .libs/libgd.la .libs/libgd.* .libs/libgd.*
gcc -shared 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 -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libjpeg.so -lpng12 -lz -lm -Wl,-rpath -Wl,/usr/local/lib -Wl,-soname -Wl,libgd.so.2 -o .libs/libgd.so.2.0.0
/usr/bin/ld: /usr/local/lib/libz.a(compress.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libgd.la] Error 1
make[1]: Leaving directory `/home/yonghu/gd-2.0.33'
make: *** [install-recursive] Error 1
|
|