Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linux bins ???
Author Message
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #1
Linux bins ???
Well, latest linux build didnt include the binary, only .ini files... does anyone have a very last linux build to share with me?

i'd be very greatfull...

BTW, as i am unable to try the server under linux cause of the lack of the binary i need to know the fallowing.


i just installed Centos 6.5 x86_64 and i had to upgrade mysql-bins to 5.6+, cause i suppose it includes libmysqlclient.18 which is needed on 0.56c revs

i am right?

Ty very much ^^
08-09-2014 04:17 PM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #2
RE: Linux bins ???
Got the problems, will be fixed in tomorrow's build, until that you can use a build that Ben uploaded the other day for testing purposes: http://forum.spherecommunity.net/sshare.php?srt=4

This build have a problem crashing clients when double clicking a spellbook from the ground but will do its job.

AFAIR Sphere needs libmysqlclient.16, but I don't run it under linux so i'm not sure Smile
08-09-2014 05:07 PM
Find all posts by this user Like Post Quote this message in a reply
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #3
RE: Linux bins ???
for linux erudites, latest builds require libymysqlclient.18.so

had this error when running the server: ./spheresvr: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory

i run a 64 bit system so i made a symbolic link
ln -s /usr/lib64/libmysqlclient.so.18 /usr/lib/
ln -s /usr/lib64/libmysqlclient.so /usr/lib/

and now im getting this error
./spheresvr
./spheresvr: error while loading shared libraries: libmysqlclient.so.18: wrong ELF class: ELFCLASS64

any clues?
Ty very much
08-10-2014 12:16 AM
Find all posts by this user Like Post Quote this message in a reply
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #4
RE: Linux bins ???
Nevermind... CentOS 7 was easier, has more updated libs Smile so not too much libreries were needed Smile
08-10-2014 06:25 AM
Find all posts by this user Like Post Quote this message in a reply
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #5
RE: Linux bins ???
OMGGGGGGG i just downloaded the latest linux rev and now i get the: ./spheresvr: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory
ERROR!!! and august 4th rev asked for the .18 .... anyone please could explain this to me?
08-10-2014 09:05 AM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #6
RE: Linux bins ???
Other build was built by Ben in his pc, nightlies are built in Torfo's pc... it seems Ben have updated libs, blame him!!!
08-10-2014 09:33 AM
Find all posts by this user Like Post Quote this message in a reply
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #7
RE: Linux bins ???
xDDD hehehehe well i fixed it just making a symbolic link from 18 to 16 at /lib/ directory Big Grin its working now Smile

THX!
08-10-2014 10:07 AM
Find all posts by this user Like Post Quote this message in a reply
Lirion
Apprentice
*

Posts: 4
Likes Given: 0
Likes Received: 2 in 1 posts
Joined: Dec 2014
Reputation: 0



Post: #8
RE: Linux bins ???
(08-10-2014 12:16 AM)kn4tseb Wrote:  ln -s /usr/lib64/libmysqlclient.so.18 /usr/lib/
ln -s /usr/lib64/libmysqlclient.so /usr/lib/

./spheresvr: error while loading shared libraries: libmysqlclient.so.18: wrong ELF class: ELFCLASS64

Just to get this straight: ELFCLASS64 points you right to the source of the problem. This tells you you are trying to access a 64bit binary with non-64bit-methods. This will not work. Sphere wants 32bit.

Find out how to do multiarching on your Linux distro, and be careful before deliberately confusing your package manager or nuking half of your system.



Besides: spheresvr expects exactly one version, no upwards or downward compatibility. Installed prerelease and the necessary i386 mysql libraries, cheated a bit:
Code:
lrwxrwxrwx 1 root root 44 Dez 17 00:41 /lib/libmysqlclient.so.16 -> /usr/lib/i386-linux-gnu/libmysqlclient.so.18
lrwxrwxrwx 1 root root 48 Dez 17 00:49 /lib/libmysqlclient.so.16.0.0 -> /usr/lib/i386-linux-gnu/libmysqlclient.so.18.0.0
and this is what it throws at you:
Code:
./spheresvr: /lib/libmysqlclient.so.16: version `libmysqlclient_16' not found (required by ./spheresvr)

So you'd better get a release that works with current Linux architecture.

This was tested on Debian Stable, not on Mint or Ubuntu Testing Smile so I'll see which release fits my needs. (v1991 fails expecting glibc 2.15 as Debian stable is at 2.13. It's not that easy.)


And one addition, for clarification:
The mysqlclient comes with the 56b prerelease, June 2013 - as well as with the current nightly build.
The download you can acquire here, v1991, speaks with mysqlclient 18 but expects (g)libc 2.15.
(This post was last modified: 12-17-2014 10:35 AM by Lirion.)
12-17-2014 09:56 AM
Find all posts by this user Like Post Quote this message in a reply
Lirion
Apprentice
*

Posts: 4
Likes Given: 0
Likes Received: 2 in 1 posts
Joined: Dec 2014
Reputation: 0



Post: #9
RE: Linux bins ???
And while I'm at it: is there any way to acquire a different version than the ones above?
Prerelease expects an old version of libmysqlclient, nightly expects an old version of libmysqlclient as well (both 16). v1991 expects glibc 2.15.

Any alternatives? Smile

If you try to please everyone, somebody is not going to like it.
12-17-2014 12:04 PM
Find all posts by this user Like Post Quote this message in a reply
Lirion
Apprentice
*

Posts: 4
Likes Given: 0
Likes Received: 2 in 1 posts
Joined: Dec 2014
Reputation: 0



Post: #10
RE: Linux bins ???
To complete stuff here:
The special builds page now has a spheresvr[Debian].tar.gz (v. 2139) listed which supports libmysql-18 (32bit, so of course you still need multiarch on 64bit as with any version) and glib2.13.

If you try to please everyone, somebody is not going to like it.
12-23-2014 12:57 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)