The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linux bins ???
Author Message
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
Post Reply 


Messages In This Thread
Linux bins ??? - kn4tseb - 08-09-2014, 04:17 PM
RE: Linux bins ??? - XuN - 08-09-2014, 05:07 PM
RE: Linux bins ??? - kn4tseb - 08-10-2014, 12:16 AM
RE: Linux bins ??? - Lirion - 12-17-2014 09:56 AM
RE: Linux bins ??? - kn4tseb - 08-10-2014, 06:25 AM
RE: Linux bins ??? - kn4tseb - 08-10-2014, 09:05 AM
RE: Linux bins ??? - XuN - 08-10-2014, 09:33 AM
RE: Linux bins ??? - kn4tseb - 08-10-2014, 10:07 AM
RE: Linux bins ??? - Lirion - 12-17-2014, 12:04 PM
RE: Linux bins ??? - Lirion - 12-23-2014, 12:57 AM

Forum Jump:


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