- 论坛徽章:
- 0
|
我需要用c写一个连接mysql的cgi程序,cgi程序放在“/var/www/cgi/”目录,mysql客户机库放在“/usr/local/lib/mysql”下,如果我的cgi程序编译的时候不连接客户机库,就可以正常执行,当编译的时候加
“-L/usr/local/lib/mysql/ -lmysqlclient -lz -lm”的时候就出错,错误如下:
- Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.
- Please contact the server administrator,root@localhost.localdomain and inform them of the time the error occurred, and anything you might have done that may have caused the error.
- More information about this error may be available in the server error log.
复制代码
请大家帮忙看看是什么原因? |
|