我也出现这个问题,并且 libtool 系统默认安装了 libtool-1.5.22-6.1但问题依旧,请大神相助啊 /usr/bin/ld: /usr/local/lib/libz.a(crc32.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]: *** [libpng12.la] Error 1 make[1]: Leaving directory `/usr/local/src/libpng-1.2.31' make: *** [all] Error 2
libtool: link: `-L' cannot specify a relative directory
make: *** [cjpeg] 错误 1不知道这个是怎么回事?
libtool 装好了。 2楼的问题就是编译jpeg时出现的问题
libtool: link: `-L' cannot specify a relative directory//libtool的:链接:'- L'不能指定相关目录重新编译吧,给你两个网址,尽提供参考
centos安装GD库整个过程 : http://www.tabcn.cn/post/18.html
CentOS 5.5下源码安装配置Apache,PHP5.2.14,MySql : http://www.linux99.com/bbs/thread-36-1-1.html
/usr/bin/ld: /usr/local/lib/libz.a(crc32.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]: *** [libpng12.la] Error 1
make[1]: Leaving directory `/usr/local/src/libpng-1.2.31'
make: *** [all] Error 2