Author Topic: Running server on linux problems  (Read 618 times)

aerowyn

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
Running server on linux problems
« on: August 06, 2003, 07:28:11 am »
I tried running the server on linux and got these errors...

-bash-2.05b$ ./psserver -verbose
Warning: Failed to load `dbmysql\'; reason(s):
/home/ecliptiq/molblue/CS/dbmysql.so: File not found
/home/ecliptiq/molblue/CS/lib/dbmysql.so: File not found
./dbmysql.so: File not found
/home/ecliptiq/molblue/cel//dbmysql.so: File not found
/home/ecliptiq/molblue/cel//lib/dbmysql.so: File not found
/home/ecliptiq/molblue/planeshift/dbmysql.so: File not found
Warning: Failed to load `dbmysql\'; reason(s):
/home/ecliptiq/molblue/CS/dbmysql.so: File not found
/home/ecliptiq/molblue/CS/libdbmysql.so: File not found
/home/ecliptiq/molblue/CS/lib/dbmysql.so: File not found
/home/ecliptiq/molblue/CS/lib/libdbmysql.so: File not found
./dbmysql.so: File not found
./libdbmysql.so: File not found
/home/ecliptiq/molblue/cel//dbmysql.so: File not found
/home/ecliptiq/molblue/cel//libdbmysql.so: File not found
/home/ecliptiq/molblue/cel//lib/dbmysql.so: File not found
/home/ecliptiq/molblue/cel//lib/libdbmysql.so: File not found
/home/ecliptiq/molblue/planeshift/dbmysql.so: File not found
/home/ecliptiq/molblue/planeshift/libdbmysql.so: File not found
WARNING: could not load plugin \'planeshift.database.mysql\'
Warning: Failed to load `csjngimg\'; reason(s):
/home/ecliptiq/molblue/CS/csjngimg.so: File not found
/home/ecliptiq/molblue/CS/lib/csjngimg.so: File not found
./csjngimg.so: File not found
/home/ecliptiq/molblue/cel//csjngimg.so: File not found
/home/ecliptiq/molblue/cel//lib/csjngimg.so: File not found
/home/ecliptiq/molblue/planeshift/csjngimg.so: File not found
Warning: Failed to load `csjngimg\'; reason(s):
/home/ecliptiq/molblue/CS/csjngimg.so: File not found
/home/ecliptiq/molblue/CS/libcsjngimg.so: File not found
/home/ecliptiq/molblue/CS/lib/csjngimg.so: File not found
/home/ecliptiq/molblue/CS/lib/libcsjngimg.so: File not found
./csjngimg.so: File not found
./libcsjngimg.so: File not found
/home/ecliptiq/molblue/cel//csjngimg.so: File not found
/home/ecliptiq/molblue/cel//libcsjngimg.so: File not found
/home/ecliptiq/molblue/cel//lib/csjngimg.so: File not found
/home/ecliptiq/molblue/cel//lib/libcsjngimg.so: File not found
/home/ecliptiq/molblue/planeshift/csjngimg.so: File not found
/home/ecliptiq/molblue/planeshift/libcsjngimg.so: File not found
Mounting maps: podium.
-Server Console initialized (./psserver-V0.1)-
Initializing database...
Database Host: \'localhost\' User: \'planeshift\' Databasename: \'planeshift\'
planeshift.application.server: No iConnection plugin!
Could not create database or connect to it.
error while initializing server!


It looks like an compiling problem... but I followed all the instructions in the walkthrough for installing on linux.

Any help?
« Last Edit: August 06, 2003, 07:29:38 am by aerowyn »

Kundalf

  • Hydlaa Resident
  • *
  • Posts: 175
    • View Profile
(No subject)
« Reply #1 on: August 06, 2003, 08:49:25 am »
I\'ve never tried to install a PS server, but I know, that its necessary to run a mysql database or at least have it installed.

If I look at your output, some mysql related libraries are not found. Maybe you need to install mysql or you need to complie cel and CS after you\'ve installed mysql, to get the necessary libs.

Maybe its just a problem with paths (variables) and permissions....
-- take care --
 

visit my favored site  ;)

aerowyn

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
(No subject)
« Reply #2 on: August 06, 2003, 08:52:44 am »
I had mysql installed and configured before I compiled and I have set up the proper tables

acraig

  • Administrator
  • Veteran
  • *
  • Posts: 1562
    • View Profile
(No subject)
« Reply #3 on: August 06, 2003, 10:11:39 pm »
Many of those errors are for image types that we do not use, so that is not a problem.  \"dbmysql.so: File not found \" is a bad erorr since that is our database system.  If this file does not exist then it means that it did not build and that is a problem.  Did you install the mysql development libs as well and check your config.log to see if there are any mysql warnings/errors.  If not try building PS again and make a note of any errors in the build.
----------
Andrew
"For all I know, she's lying, everyone's lying; welcome to the Internet"

aerowyn

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
(No subject)
« Reply #4 on: August 07, 2003, 12:29:44 pm »
Well, it appears to have found the headers (which I double checked and they are in /usr/include/mysql) but it is erroring on the mysql_connect... any ideas?





/home/ecliptiq/molblue/planeshift/configure:3963: undefined reference to `mysql_connect\'
collect2: ld returned 1 exit status
configure:3975: $? = 1
configure: failed program was:
#line 3954 \"configure\"
#include \"confdefs.h\"
 
  #include
  #include

int
main ()
{
 
  mysql_connect(0,0,0,0);

  ;
  return 0;
}

aerowyn

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
(No subject)
« Reply #5 on: August 08, 2003, 09:25:23 am »
here is the entry in mysql.h for mysql_connect


#ifdef USE_OLD_FUNCTIONS
MYSQL *         STDCALL mysql_connect(MYSQL *mysql, const char *host,
                                      const char *user, const char *passwd);