Libraries - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: Libraries (/Thread-Libraries) Pages: 1 2 |
Libraries - Runcuks - 03-15-2016 09:58 AM Hi, just got acces to my vds server, but as i try to start my server i got this error ./spheresvr: error while loading shared libraries: libmysqlclient.so.15: cannot op en shared object file: No such file or directory I search in forum but didnt find, how to fix this problem... I am using centos-6-x86_64 RE: Libraries - Khaos - 03-15-2016 03:09 PM Does the file exist on host? It sounds like it doesn't exist so it cannot open it. RE: Libraries - karma - 03-15-2016 07:08 PM You need to install 32 bits mysql libs, since sphere right now compiles only as x86. RE: Libraries - Kanibal - 03-15-2016 07:44 PM (03-15-2016 07:08 PM)karma Wrote: You need to install 32 bits mysql libs, since sphere right now compiles only as x86. Yep, that's butthurt :/ RE: Libraries - Runcuks - 03-16-2016 12:08 AM i have libs -> Code: [root@145 lib64]# locate libmysqlclient.so.15 I cant instal 32 bit libs ... it says not available libs Pls, help guys RE: Libraries - escribano - 03-16-2016 01:59 AM Dude, there is no such lib for 32 or 64 bits, the packet you'r installing can be to 32x or 64x but the lib.. no! Just create a synlink to the lib folder Something like: "sudo ln -s /usr/lib64/libmysqlclient.so.15 /lib/libmysqlclient.so.15" Hope it helps RE: Libraries - karma - 03-16-2016 02:30 AM Of course libraries can be compiled for x86 or x86_64 arch, and they are different, not exchangeable ^^ https://en.wikipedia.org/wiki/Executable_and_Linkable_Format http://unix.stackexchange.com/questions/81561/using-64bit-library-for-32-bit-application So you should do instead: "sudo ln -s /usr/lib/libmysqlclient.so.15 /lib/libmysqlclient.so.15" If the lib is searched in /lib (as it seems, the alternative may be /lib/mysql), it should solve your issue. RE: Libraries - Runcuks - 03-19-2016 08:13 PM Jup thanks, got it to work RE: Libraries - exodus_au - 03-28-2017 06:46 PM Hi, I also have an issue with the lib not being seen. Code: User:~$ ldd spheresvr Code: User:~$ locate libmysqlclient.so.18 I tried running the following line but it didnt work: Code: sudo ln -s /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18 /lib/libmysqlclient.so.18 and here is a list of my dpkg, i have tried so much with installing the debian packages and the ubuntu versions with no luck. Code: User:~$ dpkg -l| grep mysql RE: Libraries - Coruja - 03-29-2017 04:09 AM sphere is 32bit and need 32bit libs, but your libmysqlclient18 is 64bit so if you just create a symlink to this 64bit lib it will not work correctly. You must have libmysqlclient18:i386 instead libmysqlclient18:amd64, try install it to check if it works if you get any problem, try follow these instructions: https://github.com/Sphereserver/Source |