[xp]RMX-OS mysql.so file for linux

Started by edwardthefma, November 25, 2009, 12:36:13 pm

Previous topic - Next topic

edwardthefma

November 25, 2009, 12:36:13 pm Last Edit: December 18, 2009, 10:25:49 pm by edwardthefma
<RMX-OS mysql.so>
Authors: edwardthefma

Type: linux

Introduction
ok if you have ever tryed to run Rmx-os on a linux shell or a linux pc
you might have noticed that you get a  mysql.so error well hear is a file that will fix that


Features

  • the abillaty to use rmx-os with a deban linux shell with ruby1.9.1 and my sql




Screenshots
na


Demo
http://www.mediafire.com/?mn5mwm0wn4m


Script
NA it is in the demo



Instructions


to fix this is easy you replace the mysql.so with my preconfigerd
mysql.so file
now  this has bean tested with debian and it work i cant say it will work for all linux distros
you if it dosent work you will need to follow my foot steps you need to compile  a new so using this ruby guide
http://www.tmtm.org/en/mysql/ruby/ but insted of compileing it with ruby 1.9.1 you will compile it using 1.8.7 i think this is due to the fact that wen blizzard started rmx-os with ruby 1.8.7



Credits and Thanks

  • blizzard for helping me to find out how to fix the error
  • riotz for helping me with linux



Author's Notes
you might find that using a Linux shell would be easy to host your game but i will remind you that
some free shells might not like you running it cause it might go over their limited usage limit
i am the lead dev for the shellium mmorpg project
http://wiki.shellium.org/w/Mmorpg
shellium.org :) free linux shells pm me and i will gladly
help you get 1

Ryex

that's interesting, the Linux library used in RMX-OS works inn windows but causes problems in Linux? weird.
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

edwardthefma

November 25, 2009, 03:07:45 pm #2 Last Edit: November 25, 2009, 03:14:29 pm by edwardthefma
yes i beleave the way mysql works in linux is diffrent
also due to the fact that blizzard compiled the mysql.so
using windows insted of linux caus he didint have acess to a linux pc
i am the lead dev for the shellium mmorpg project
http://wiki.shellium.org/w/Mmorpg
shellium.org :) free linux shells pm me and i will gladly
help you get 1

Blizzard

It's either because of being compiled on Windows or (which is more probable) because mysql.so compiled for Ruby 1.8.x doesn't work with Ruby 1.9.x and vice versa. I wouldn't be surprised if this mysql.so works fine with Windows and Ruby 1.8.x.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

edwardthefma

i am the lead dev for the shellium mmorpg project
http://wiki.shellium.org/w/Mmorpg
shellium.org :) free linux shells pm me and i will gladly
help you get 1

nirahiel

December 25, 2009, 05:41:40 pm #5 Last Edit: December 25, 2009, 05:42:56 pm by nirahiel
Hi, i tried the file, bug i got this error :

==========================================================================
RMX-OS Server v1.01
==========================================================================
Loading extensions...
No extensions found.
--------------------------------------------------------------------------
> Starting TCP Server...
> Connecting to MySQL database...
ruby: symbol lookup error: ./mysql.so: undefined symbol: rb_tainted_str_new_cstr


So i tried to compile it myself, and then :

extconf.rb:1:in `require': no such file to load -- mkmf (LoadError)
from extconf.rb:1


Do I have to run the server as a root ?
Or what's wrong ?

edwardthefma

try just downloading the demo file and replacing it with the old mysql.so
that should work
if you are compiling it your self do it under ruby 1.8.7 instead of ruby 1.9.1
it should work if you are under deban
i am the lead dev for the shellium mmorpg project
http://wiki.shellium.org/w/Mmorpg
shellium.org :) free linux shells pm me and i will gladly
help you get 1

nirahiel

Quote from: edwardthefma on December 25, 2009, 05:57:18 pm
try just downloading the demo file and replacing it with the old mysql.so
that should work
Thats what I did to get the 1st error
Quote from: edwardthefma on December 25, 2009, 05:57:18 pmif you are compiling it your self do it under ruby 1.8.7 instead of ruby 1.9.1
it should work if you are under deban

Im on Ubuntu v9.04 and ruby is 1.8.7

fugibo

From terminal:
sudo apt-get install build-essential

edwardthefma

well http://www.tmtm.org/en/mysql/ruby/ i used this guide under ruby 1.8.7
after you com pile it you find the mysql.so with the compiled files
i am the lead dev for the shellium mmorpg project
http://wiki.shellium.org/w/Mmorpg
shellium.org :) free linux shells pm me and i will gladly
help you get 1

fugibo

Quote from: edwardthefma on December 26, 2009, 05:09:55 pm
well http://www.tmtm.org/en/mysql/ruby/ i used this guide under ruby 1.8.7
after you com pile it you find the mysql.so with the compiled files


You have to use the command I gave for it to work on Linux. You'll also need to install Ruby, but I take it he's already done that.

nirahiel

Quote from: Longfellow on December 26, 2009, 05:16:37 pm
Quote from: edwardthefma on December 26, 2009, 05:09:55 pm
well http://www.tmtm.org/en/mysql/ruby/ i used this guide under ruby 1.8.7
after you com pile it you find the mysql.so with the compiled files


You have to use the command I gave for it to work on Linux. You'll also need to install Ruby, but I take it he's already done that.

Build essentials already installed :(

fugibo

Ah, I see. Well, your error would indicate that your MySQL was built against either a) a different version of Ruby or b) an extra module. Sorry, but I can't help anymore than telling you to try installing ruby-dev (or whatever the package is called) or trying a newer/older version of Ruby.

edwardthefma

well wen i compild it in ruby 1.9.1 it did not work so i tryed the older ver of ruby
i am the lead dev for the shellium mmorpg project
http://wiki.shellium.org/w/Mmorpg
shellium.org :) free linux shells pm me and i will gladly
help you get 1

Noob

Is there a 64 bit version?? The file is designed for a 32 bit machine, but I need one fo ra 64 bit.