LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 634|回复: 0

apache cgi错误,大家帮我看看

[复制链接]
发表于 2006-3-5 19:57:57 | 显示全部楼层 |阅读模式
现在装一套系统。这个系统里面的CGI报错,请各位看看是什么错误:
error_log文件:
[Sat Mar 04 22:01:02 2006] [error] [client 10.10.10.88] /usr/local/publish_apache/cgi-bin/publish/login: relocation error: /usr/lib/libmysqlclient.so.6: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference, referer: http://10.10.10.111:9000/
[Sat Mar 04 22:01:02 2006] [error] [client 10.10.10.88] Premature end of script headers: login, referer: http://10.10.10.111:9000/

我直接执行这个cgi程序,也会报这样的错误,不过我查了资料在环境变量上
加了:export LD_ASSUME_KERNEL=2.4.1
后,直接执行就没有问题了,但是在apache中还是报这个错误,怎样解决?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表