PlaneShift
Support => Linux Specific Issues => Topic started by: virajithj on November 09, 2010, 06:02:02 pm
-
I am trying to run a PS server compiled from source on CentOS. I had installed mysql but the server is not able to locate that. When I ./psserver, I get " planeshift.application.server: No iDataConnection plugin!" error.
The run of ./configure of my server install is not able to find libmysqlclient even if I have mysql-devel installed. There is no libmysqlclient or libmysqlclient-devel in the distro of CentOS. My /usr/lib/mysql contains libmysqlclient.so but even when I use the --with-mysqlclient=/usr/lib/mysql/, the ./configure is not able locate libmysqlclient. Any clue why this is happening and how I can get rid of this problem?
Thanks a lot
Virajith
-
You seem to have numerous problems with the compilation. Why don't you join #planeshift-build on freenode? Help will be much faster there. :)
-
you lack the development libraries (aka headers in this case)
-
on RHEL (including CentOS) there's an issue wiht the location of the required files
easiest workaround is to create a "mysql" folder in your home directory with the following 2 symlinks in it:
include -> /usr/include/mysql
lib -> /usr/lib64/mysql
then issue configure with --with-mysqlclient=$HOME/mysql
that way it'll find the required files
-
on RHEL (including CentOS) there's an issue wiht the location of the required files
easiest workaround is to create a "mysql" folder in your home directory with the following 2 symlinks in it:
include -> /usr/include/mysql
lib -> /usr/lib64/mysql
then issue configure with --with-mysqlclient=$HOME/mysql
that way it'll find the required files
Thanks a lot! that works!
You seem to have numerous problems with the compilation. Why don't you join #planeshift-build on freenode? Help will be much faster there. :)
I tried the IRC but no one replied to my questions when I posted this. However, earlier I got a lot a help from there too.