fizzytsai
06-28-2010, 02:51 AM
I used to use "gcc -lmysqlclient ..." to compile my CGI+MySQL programs on HM. However, I cannot compile my programs successfully lately because of the following error:
/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
It looks like the server misses "mysqlclient.so" library. HM tolds "Unfortunately that shared object is not available inside of the fake environment anymore." and "In the interim it might be better to statically compile the applications that you are trying to compile on our server on a different machine and upload the executable." I tried but I failed again because of "500 Internal Server Error."
Does anyone meet the same problem? Most of my programs are like this. I don't know how I can use HM if I cannot solve it.
:confused:
/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
It looks like the server misses "mysqlclient.so" library. HM tolds "Unfortunately that shared object is not available inside of the fake environment anymore." and "In the interim it might be better to statically compile the applications that you are trying to compile on our server on a different machine and upload the executable." I tried but I failed again because of "500 Internal Server Error."
Does anyone meet the same problem? Most of my programs are like this. I don't know how I can use HM if I cannot solve it.
:confused: