Bug #118066 Fedora 42 packages
Submitted: 28 Apr 8:58 Modified: 22 May 13:02
Reporter: Ryan van Herwijnen Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:8.0.42 OS:Fedora (42 Workstation)
Assigned to: CPU Architecture:x86
Tags: fedora 42

[28 Apr 8:58] Ryan van Herwijnen
Description:
The latest Fedora packages are for Fedora Workstation 40. When installing this package on Fedora 42, the following error is given.

Found /lib64/libproj.so.25
/usr/libexec/mysql-workbench/mysql-workbench-bin: /usr/lib64/mysql-workbench/libssh.so.4: version `LIBSSH_4_10_0' not found (required by /lib64/libcurl.so.4)

So I believe the Fedora 40 package is too old to run on Fedora Workstation 42.

How to repeat:
Install the Fedora 40 package on a Fedora 42 Workstation machine, and try to start it.

Suggested fix:
New package for Fedora Workstation 42.
[28 Apr 9:59] MySQL Verification Team
Hello Ryan van Herwijnen,

Thank you for the report and feedback.

Regards,
Ashwini Patil
[28 Apr 10:56] Daniël van Eeden
mysql-workbench-community-8.0.40-1.fc41.x86_64 seems ok on Fedora 42. At least it is able to start.
[12 May 9:02] Ryan van Herwijnen
I have now tried both versions on my own workstation and on a fresh Fedora 42 Workstation VM. They all still produce the same error. 
mysql-workbench-community-8.0.42-1.fc40.x86_64
mysql-workbench-community-8.0.40-1.fc41.x86_64

What is strange is, the download page of MySQL Workbench shows only Fedora downloads for version 40. 

Found /lib64/libproj.so.25
/usr/libexec/mysql-workbench/mysql-workbench-bin: /usr/lib64/mysql-workbench/libssh.so.4: version `LIBSSH_4_10_0' not found (required by /lib64/libcurl.so.4)
[12 May 9:35] Javier M.M.
Hello,

I have the same problem I can't install Workbench on Fedora 42. When will the problem be solved?
[14 May 11:22] Ryan van Herwijnen
When I do the following, I can start Workbench. But when starting, it tells me my OS is not supported.

cd /usr/lib64/mysql-workbench
sudo cp /usr/lib64/libssh.so.4.10.1 /usr/lib64/mysql-workbench
sudo chmod 644 libssh.so.4.10.1
sudo ln -s libssh.so.4.10.1 libssh.so.4 --force
[15 May 6:56] Javier M.M.
Thanks Ryan, it worked, the Workbench is running.
[19 May 8:12] Daniël van Eeden
For me it works without messing with symlinks etc.

dvaneeden@dve-carbon:~$ objdump -T /usr/lib64/mysql-workbench/libssh.so.4 | awk '/LIBSSH/ {print $6}' | sort | uniq -c
    412 LIBSSH_4_5_0
      2 LIBSSH_4_6_0
      4 LIBSSH_4_7_0
      5 LIBSSH_4_8_0
      3 LIBSSH_4_8_1
      7 LIBSSH_4_9_0
dvaneeden@dve-carbon:~$ rpm -qf /usr/lib64/mysql-workbench/libssh.so.4 /lib64/libcurl.so.4 /usr/lib64/libssh.so.4.10.1 
mysql-workbench-community-8.0.40-1.fc41.x86_64
libcurl-minimal-8.11.1-4.fc42.x86_64
libssh-0.11.1-4.fc42.x86_64
dvaneeden@dve-carbon:~$ md5sum /usr/lib64/mysql-workbench/libssh.so.4 /lib64/libcurl.so.4 /usr/lib64/libssh.so.4.10.1
72d1f01d29e66d8fe01c96ff0191c80c  /usr/lib64/mysql-workbench/libssh.so.4
99dc37e395ed2664f15ede002b4b0446  /lib64/libcurl.so.4
413cc4a17babbddb8d05359fbd516e1e  /usr/lib64/libssh.so.4.10.1
dvaneeden@dve-carbon:~$ LD_LIBRARY_PATH=/usr/lib64/mysql-workbench ldd /usr/libexec/mysql-workbench/mysql-workbench-bin | grep libssh
	libssh.so.4 => /usr/lib64/mysql-workbench/libssh.so.4 (0x00007efe5fa8b000)
[22 May 13:02] Ryan van Herwijnen
Hi Daniël,

The last command you wrote:
LD_LIBRARY_PATH=/usr/lib64/mysql-workbench ldd /usr/libexec/mysql-workbench/mysql-workbench-bin | grep libssh

Still gives the same error to me on a fresh Fedora WS 42 installation:
/usr/libexec/mysql-workbench/mysql-workbench-bin: /usr/lib64/mysql-workbench/libssh.so.4: version `LIBSSH_4_10_0' not found (required by /lib64/libcurl.so.4)

Copying of the shared object and changing the existing symlink is still my only option to get it working.
[17 Jun 0:22] Bryon Abbott
I ran into the same issue on a fresh install ... copied the library to the workbench similar to Ryan and all works well.
[3 Jul 21:04] Einer Petersen
Here is what worked for me:
1) Rename
 /usr/lib64/mysql-workbench/libssh.so.4.9.6 to /usr/lib64/mysql-workbench/libssh.so.4.9.6-OEM

2) Remove
/usr/lib64/mysql-workbench/libssh.so
/usr/lib64/mysql-workbench/libssh.so.4

This will basically make MySQL-Workbench use the system provided libraries located in /usr/lib64

As for the warning about the "Unsupported Operating System", I think it actually has to do with the actual binary not explicitly supporting Fedora (Only testing for Red Hat?)