Chinaunix首页 | 论坛 | 博客
  • 博客访问: 351342
  • 博文数量: 7
  • 博客积分: 3026
  • 博客等级: 中校
  • 技术积分: 590
  • 用 户 组: 普通用户
  • 注册时间: 2005-04-13 20:29
文章分类

全部博文(7)

文章存档

2010年(2)

2009年(2)

2008年(3)

我的朋友

分类:

2008-04-23 13:43:42

安装php的时候make test或者直接apache起的话会出这个错误:
 
ld.so.1: php: fatal: relocation error: file /export/Dev/temp/php-5.1.6/sapi/cli/php: symbol xmlParserInputBufferCreateFilenameDefault: referenced symbol not found
Killed
make[1]: *** [install-pear-installer] Error 137
make: *** [install-pear] Error 2
"
解决方法如下:
After a long investigation I figured out that the problem comes from the native solaris libraries, and mainly from libxml2.so.2 and libgcc_s.so.1.

To fix the problem install the GNU ones and change your PATH to start with /usr/local/bin instead of /usr/bin, also set the LD_LIBRARY_PATH to start with /usr/local/lib instead of /usr/lib

PATH=/usr/local/bin:$PATH
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
请参看:
阅读(2012) | 评论(0) | 转发(0) |
0

上一篇:没有了

下一篇:Solaris中的Shell和用户权限

给主人留下些什么吧!~~