Sphere in CentOS 6 (Libraries error) - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: Sphere in CentOS 6 (Libraries error) (/Thread-Sphere-in-CentOS-6-Libraries-error) |
Sphere in CentOS 6 (Libraries error) - MrX - 08-22-2014 01:19 AM I'm trying to run sphere 56c nightly in centos 6, when I try run it , it says: linux-gate.so.1 => (0xb7707000) libpthread.so.0 => /lib/libpthread.so.0 (0xb76e0000) libmysqlclient.so.16 => /usr/lib/mysql/libmysqlclient.so.16 (0xb7568000) librt.so.1 => /lib/librt.so.1 (0xb7558000) libdl.so.2 => /lib/libdl.so.2 (0xb7550000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7460000) libm.so.6 => /lib/libm.so.6 (0xb7430000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7410000) libc.so.6 => /lib/libc.so.6 (0xb7278000) /lib/ld-linux.so.2 (0xb7708000) libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7248000) libnsl.so.1 => /lib/libnsl.so.1 (0xb7228000) libssl.so.10 => /usr/lib/libssl.so.10 (0xb71c0000) libcrypto.so.10 => /usr/lib/libcrypto.so.10 (0xb6ff8000) libz.so.1 => /lib/libz.so.1 (0xb6fe0000) libfreebl3.so => /lib/libfreebl3.so (0xb6f80000) libgssapi_krb5.so.2 => /lib/libgssapi_krb5.so.2 (0xb6f40000) libkrb5.so.3 => /lib/libkrb5.so.3 (0xb6e60000) libcom_err.so.2 => /lib/libcom_err.so.2 (0xb6e58000) libk5crypto.so.3 => /lib/libk5crypto.so.3 (0xb6e28000) libresolv.so.2 => /lib/libresolv.so.2 (0xb6e08000) libkrb5support.so.0 => /lib/libkrb5support.so.0 (0xb6df8000) libkeyutils.so.1 => /lib/libkeyutils.so.1 (0xb6df0000) libselinux.so.1 => /lib/libselinux.so.1 (0xb6dd0000) I was searching about it, and can't find the fix.. RE: Sphere in CentOS 6 (Libraries error) - kn4tseb - 08-22-2014 01:48 PM Hey man, im running my server under centos, but i tried centos 6.5 and gave me so much libs/dependecies conflicts so i changed to el7 (centos 7) and was a bit easier first at all you need to know which archiqutecture you are running, x64 or i386. this are the RPM you will need to download and dpkg. epel-release-7-0.2.noarch.rpm glibc-2.17-55.el7.i686.rpm keyutils-libs-1.5.8-3.el7.i686.rpm krb5-libs-1.11.3-49.el7.i686.rpm libcom_err-1.42.9-4.el7.i686.rpm libgcc-4.8.2-16.el7.i686.rpm libselinux-2.2.2-6.el7.i686.rpm libstdc++-4.8.2-16.el7.i686.rpm libverto-0.2.5-4.el7.i686.rpm mariadb-libs-5.5.35-3.el7.i686.rpm mariadb-libs-5.5.37-1.el7_0.x86_64.rpm nss-softokn-freebl-3.15.4-2.el7.i686.rpm openssl-libs-1.0.1e-34.el7.i686.rpm openssl-libs-1.0.1e-34.el7_0.3.i686.rpm pcre-8.32-12.el7.i686.rpm xz-libs-5.1.2-8alpha.el7.i686.rpm zlib-1.2.7-13.el7.i686.rpm get them for el6 tho if you will use centos 6.x but i recommend 7 in case you are running x64 bits you MUST yum install glibc for 64 bits editions once all of them are installed you might have the mysqlclient16 conflict... just ln -s libmysqlclient18.so (i386 version) to libmysqlclient16.so inside /lib directory EDIT: let me know if you need any help RE: Sphere in CentOS 6 (Libraries error) - MrX - 08-22-2014 05:12 PM Thanks for your help. I reinstalled the box with CentOS 7 64bits. Now getting error with that u said- ./sphereNightly: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory I find the file at /usr/lib/mysql/libmysqlclient.so.18 , I use ln -s libmysqlclient libmysqlclient.so.18 libmysqlclient.so.16 and still same error.. RE: Sphere in CentOS 6 (Libraries error) - kn4tseb - 08-23-2014 03:14 AM ok, try this # ln -s /usr/lib/mysql/libmysqlclient.so.18 /usr/lib/libmysqlclient.so.16 RE: Sphere in CentOS 6 (Libraries error) - MrX - 08-23-2014 11:38 AM lol , now show this one: ./sphereNightly: error while loading shared libraries: libmysqlclient.so.16: wrong ELF class: ELFCLASS64 RE: Sphere in CentOS 6 (Libraries error) - kn4tseb - 08-23-2014 12:54 PM Ok, delete the symbolic link created... you need the i386 libmysqlclient.so.18 (16) version... did you install this package? mariadb-libs-5.5.35-3.el7.i686.rpm that one has the i386 library you need, download it and install it and let me know.. once installed it search for it find / -name libymysqlclient.so.18 and you will see the path's... ln -s the non 64bit version to /usr/lib/mysql/ and /usr/lib/ folder DIRECT LINK ftp://ftp.muug.mb.ca/mirror/centos/7.0.1406/os/x86_64/Packages/mariadb-libs-5.5.35-3.el7.i686.rpm RE: Sphere in CentOS 6 (Libraries error) - MrX - 08-24-2014 01:22 AM It says: error: Failed dependencies: libcrypto.so.10 is needed by mariadb-libs-1:5.5.35-3.el7.i686 libcrypto.so.10(libcrypto.so.10) is needed by mariadb-libs-1:5.5.35-3.el7.i686 libssl.so.10 is needed by mariadb-libs-1:5.5.35-3.el7.i686 libssl.so.10(libssl.so.10) is needed by mariadb-libs-1:5.5.35-3.el7.i686 libstdc++.so.6 is needed by mariadb-libs-1:5.5.35-3.el7.i686 libz.so.1 is needed by mariadb-libs-1:5.5.35-3.el7.i686 RE: Sphere in CentOS 6 (Libraries error) - kn4tseb - 08-24-2014 02:42 AM download all the rpm i told you epel-release-7-0.2.noarch.rpm glibc-2.17-55.el7.i686.rpm keyutils-libs-1.5.8-3.el7.i686.rpm krb5-libs-1.11.3-49.el7.i686.rpm libcom_err-1.42.9-4.el7.i686.rpm libgcc-4.8.2-16.el7.i686.rpm libselinux-2.2.2-6.el7.i686.rpm libstdc++-4.8.2-16.el7.i686.rpm libverto-0.2.5-4.el7.i686.rpm mariadb-libs-5.5.35-3.el7.i686.rpm nss-softokn-freebl-3.15.4-2.el7.i686.rpm openssl-libs-1.0.1e-34.el7.i686.rpm openssl-libs-1.0.1e-34.el7_0.3.i686.rpm pcre-8.32-12.el7.i686.rpm xz-libs-5.1.2-8alpha.el7.i686.rpm zlib-1.2.7-13.el7.i686.rpm i dont know the order but always one will ask for another, so keep trying till one is installed and that will let you install another one and so on until all of them are property installed. |