ULX

Author Topic: Help installing mysqloo??  (Read 3475 times)

0 Members and 1 Guest are viewing this topic.

Offline TheSabreSlicer

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
Help installing mysqloo??
« on: January 10, 2014, 10:26:27 AM »
Hello,

So for the past week or so I have been trying to install mysqloo on my server to use with TTT stats. I have beening running into a problem though. I am getting this error when I start up my server with the addon enabled:

Quote
[ERROR] addons/dblogging/lua/dbmodules/database/database.lua:1: Couldn't load module library!
  1. require - [C]:-1
   2. unknown - addons/dblogging/lua/dbmodules/database/database.lua:1
    3. include - [C]:-1
     4. unknown - addons/dblogging/lua/init.lua:8
      5. include - [C]:-1
       6. unknown - addons/dblogging/lua/autorun/server/runme.lua:1


[ERROR] addons/dblogging/lua/dbmodules/database/database.lua:1: Couldn't load module library!
  1. require - [C]:-1
   2. unknown - addons/dblogging/lua/dbmodules/database/database.lua:1
    3. include - [C]:-1
     4. unknown - addons/dblogging/lua/init.lua:8
      5. include - [C]:-1
       6. unknown - addons/dblogging/lua/autorun/server/runme.lua:1
\

I understand from some digging around that this is caused by libmysql not being installed correctly. When I run lua_run require("mysqloo"),
I get almost the same error:
Quote
> require("mysqloo")...

[ERROR] lua_run:1: Couldn't load module library!
  1. require - [C]:-1
   2. unknown - lua_run:1


[ERROR] lua_run:1: Couldn't load module library!
  1. require - [C]:-1
   2. unknown - lua_run:1

Please help! I have posted this on Facepunch and CentOS forums.

Currently I have libmysqlcppconn.so in the folder that contains my garrysmod/ server folder (this is where srcds_run and srcds_linux are located for me. Here is the OP on Facepunch for mysqloo:
http://facepunch.com/showthread.php?t=1220537

I really need help with this!  :o :-[ >:(

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Help installing mysqloo??
« Reply #1 on: January 10, 2014, 01:29:37 PM »
Are you using the 32 bit version of the library?
Experiencing God's grace one day at a time.

Offline TheSabreSlicer

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
Re: Help installing mysqloo??
« Reply #2 on: January 11, 2014, 08:49:09 AM »
32-bit

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Help installing mysqloo??
« Reply #3 on: January 11, 2014, 09:22:03 AM »
It looks like it may not work with CentOS.
Experiencing God's grace one day at a time.