G
G
Gasoid2012-01-23 16:38:19
MySQL
Gasoid, 2012-01-23 16:38:19

how to build mysqdb connector on shared hosting?

I have hosting installed django via fcgi, but I can't compile the mysqldb driver.

I downloaded the python and mysql files and

compiled them like this:
gcc -I Include/ _mysql.c
errors:
undefined reference to `main'
...

as I think options are needed to get the .so output

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Burov, 2012-01-23
@Gasoid

Religion does not allow you to contact support?
PS: try gcc -shared -fPIC -I Include/ _mysql.c

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question