Bug 34063 - Add compatibility in libevent to run Tibia
Summary: Add compatibility in libevent to run Tibia
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL: https://libevent.org/
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2025-03-05 02:53 CET by Michael Martins
Modified: 2025-03-08 04:30 CET (History)
5 users (show)

See Also:
Source RPM: libevent-2.1.12-4.mga9
CVE:
Status comment:


Attachments
Add libevent-2.1.so.7 as symlink libevent.so.7.0.1 (637 bytes, patch)
2025-03-06 02:32 CET, katnatek
Details | Diff
Tibia working. (914.66 KB, image/png)
2025-03-07 18:55 CET, Michael Martins
Details

Description Michael Martins 2025-03-05 02:53:15 CET
When trying to run Tibia on Mageia 9, it asks for this library, but we don't have it in the repository:

/home/michael/.local/share/CipSoft GmbH/Tibia/packages/Tibia/bin/client: error while loading shared libraries: libevent-2.1.so.7: cannot open shared object file: No such file or directory
Michael Martins 2025-03-05 02:54:43 CET

Whiteboard: (none) => MGA9TOO

Comment 2 sturmvogel 2025-03-05 13:35:47 CET
And a simple 

# ln -s /usr/lib64/libevent.so.7.0.1 /usr/lib64/libevent-2.1.so.7

makes the game start....
Comment 3 katnatek 2025-03-05 17:39:12 CET
(In reply to sturmvogel from comment #2)
> And a simple 
> 
> # ln -s /usr/lib64/libevent.so.7.0.1 /usr/lib64/libevent-2.1.so.7
> 
> makes the game start....

I wonder if we can tweak the package to provide the simlink

CC: (none) => yvesbrungard

katnatek 2025-03-05 17:57:13 CET

CC: (none) => j.alberto.vc

Comment 4 katnatek 2025-03-06 02:32:14 CET
Created attachment 14887 [details]
Add libevent-2.1.so.7 as symlink libevent.so.7.0.1

Suggested changes, reopen the bug if think is worthy
Comment 5 David GEIGER 2025-03-06 06:38:28 CET
Fixed for Cauldron!

Whiteboard: MGA9TOO => (none)
CC: (none) => geiger.david68210
Version: Cauldron => 9

Comment 6 papoteur 2025-03-06 09:37:21 CET
(In reply to katnatek from comment #4)
> Created attachment 14887 [details]
> Add libevent-2.1.so.7 as symlink libevent.so.7.0.1
> 
> Suggested changes, reopen the bug if think is worthy

Go for it

Resolution: INVALID => (none)
Status: RESOLVED => REOPENED

Comment 7 papoteur 2025-03-06 09:46:41 CET
David submitted it in mageia 9 too.
===========
RPMS:
lib64event7-2.1.12-4.1.mga9
lib64event-devel-2.1.12-4.1.mga9
libevent7-2.1.12-4.1.mga9
libevent-devel-2.1.12-4.1.mga9
SRPMS:
libevent-2.1.12-4.1.mga9
===========

Component: New RPM package request => RPM Packages
Source RPM: (none) => libevent-2.1.12-4.mga9

katnatek 2025-03-06 16:56:32 CET

Summary: New package request libevent-2 => Add compatibility in libevent to run Tibia

katnatek 2025-03-06 17:05:47 CET

Assignee: bugsquad => qa-bugs

katnatek 2025-03-06 17:11:06 CET

Keywords: (none) => advisory

Comment 8 katnatek 2025-03-06 17:56:56 CET
RH x86_64

Test with bug#34012 but that chromium-browser-stable version not requires this lib :P

installing chromium-browser-stable-134.0.6998.35-1.mga9.tainted.x86_64.rpm lib64event7-2.1.12-4.1.mga9.x86_64.rpm from //home/katnatek/qa-testing/x86_64
Preparing...                     ##################################################################################################
      1/2: lib64event7           ##################################################################################################
      2/2: chromium-browser-stable
                                 ##################################################################################################
      1/2: removing lib64event7-2.1.12-4.mga9.x86_64
                                 ##################################################################################################
      2/2: removing chromium-browser-stable-132.0.6834.159-1.mga9.tainted.x86_64
                                 ##################################################################################################

strace transmission-qt
openat(AT_FDCWD, "/lib64/libevent.so.7", O_RDONLY|O_CLOEXEC) = 3

ls -la /usr/lib64/libevent*
lrwxrwxrwx 1 root root     17 mar  5 23:39 /usr/lib64/libevent-2.1.so.7 -> libevent.so.7.0.1*
lrwxrwxrwx 1 root root     22 mar  5 23:39 /usr/lib64/libevent_core.so.7 -> libevent_core.so.7.0.1*
-rwxr-xr-x 1 root root 217616 mar  5 23:39 /usr/lib64/libevent_core.so.7.0.1*
lrwxrwxrwx 1 root root     23 mar  5 23:39 /usr/lib64/libevent_extra.so.7 -> libevent_extra.so.7.0.1*
-rwxr-xr-x 1 root root 150448 mar  5 23:39 /usr/lib64/libevent_extra.so.7.0.1*
lrwxrwxrwx 1 root root     25 mar  5 23:39 /usr/lib64/libevent_openssl.so.7 -> libevent_openssl.so.7.0.1*
-rwxr-xr-x 1 root root  28656 mar  5 23:39 /usr/lib64/libevent_openssl.so.7.0.1*
lrwxrwxrwx 1 root root     26 mar  5 23:39 /usr/lib64/libevent_pthreads.so.7 -> libevent_pthreads.so.7.0.1*
-rwxr-xr-x 1 root root  15320 mar  5 23:39 /usr/lib64/libevent_pthreads.so.7.0.1*
lrwxrwxrwx 1 root root     17 mar  5 23:39 /usr/lib64/libevent.so.7 -> libevent.so.7.0.1*
-rwxr-xr-x 1 root root 347936 mar  5 23:39 /usr/lib64/libevent.so.7.0.1*

So this should fix the report, Michael Martins can you confirm?
Comment 9 Herman Viaene 2025-03-07 10:36:05 CET
What is tibia, I find no package named like that in our repo?

CC: (none) => herman.viaene

Comment 10 sturmvogel 2025-03-07 11:23:52 CET
It is an external package which is not provided by Mageia. But if the Mageia maintainers decide to create symlinks…
Comment 11 Herman Viaene 2025-03-07 11:29:38 CET
Then someone should provide a link to this package where this applies. I won't go into a wild chase and find rpm's for Fedora and Suse and.... and those might behave differently (found out the hard way in the past).
Comment 12 Michael Martins 2025-03-07 13:29:10 CET
(In reply to katnatek from comment #8)
> RH x86_64
> 
> Test with bug#34012 but that chromium-browser-stable version not requires
> this lib :P
> 
> installing chromium-browser-stable-134.0.6998.35-1.mga9.tainted.x86_64.rpm
> lib64event7-2.1.12-4.1.mga9.x86_64.rpm from //home/katnatek/qa-testing/x86_64
> Preparing...                    
> #############################################################################
> #####################
>       1/2: lib64event7          
> #############################################################################
> #####################
>       2/2: chromium-browser-stable
>                                 
> #############################################################################
> #####################
>       1/2: removing lib64event7-2.1.12-4.mga9.x86_64
>                                 
> #############################################################################
> #####################
>       2/2: removing
> chromium-browser-stable-132.0.6834.159-1.mga9.tainted.x86_64
>                                 
> #############################################################################
> #####################
> 
> strace transmission-qt
> openat(AT_FDCWD, "/lib64/libevent.so.7", O_RDONLY|O_CLOEXEC) = 3
> 
> ls -la /usr/lib64/libevent*
> lrwxrwxrwx 1 root root     17 mar  5 23:39 /usr/lib64/libevent-2.1.so.7 ->
> libevent.so.7.0.1*
> lrwxrwxrwx 1 root root     22 mar  5 23:39 /usr/lib64/libevent_core.so.7 ->
> libevent_core.so.7.0.1*
> -rwxr-xr-x 1 root root 217616 mar  5 23:39 /usr/lib64/libevent_core.so.7.0.1*
> lrwxrwxrwx 1 root root     23 mar  5 23:39 /usr/lib64/libevent_extra.so.7 ->
> libevent_extra.so.7.0.1*
> -rwxr-xr-x 1 root root 150448 mar  5 23:39
> /usr/lib64/libevent_extra.so.7.0.1*
> lrwxrwxrwx 1 root root     25 mar  5 23:39 /usr/lib64/libevent_openssl.so.7
> -> libevent_openssl.so.7.0.1*
> -rwxr-xr-x 1 root root  28656 mar  5 23:39
> /usr/lib64/libevent_openssl.so.7.0.1*
> lrwxrwxrwx 1 root root     26 mar  5 23:39 /usr/lib64/libevent_pthreads.so.7
> -> libevent_pthreads.so.7.0.1*
> -rwxr-xr-x 1 root root  15320 mar  5 23:39
> /usr/lib64/libevent_pthreads.so.7.0.1*
> lrwxrwxrwx 1 root root     17 mar  5 23:39 /usr/lib64/libevent.so.7 ->
> libevent.so.7.0.1*
> -rwxr-xr-x 1 root root 347936 mar  5 23:39 /usr/lib64/libevent.so.7.0.1*
> 
> So this should fix the report, Michael Martins can you confirm?

In which repository? I couldn't find it in the backport and testing media.
The symbolic link suggested by sturmvogel worked.
Comment 13 katnatek 2025-03-07 17:07:17 CET
(In reply to sturmvogel from comment #10)
> It is an external package which is not provided by Mageia. But if the Mageia
> maintainers decide to create symlinks…

That is why I ley the decision to others consolidated packagers 

(In reply to Herman Viaene from comment #11)
> Then someone should provide a link to this package where this applies. I
> won't go into a wild chase and find rpm's for Fedora and Suse and.... and
> those might behave differently (found out the hard way in the past).

https://www.tibia.com/

But I don't publish before to let the reporter the feedback
Comment 14 katnatek 2025-03-07 17:09:18 CET
(In reply to Michael Martins from comment #12)
> In which repository? I couldn't find it in the backport and testing media.
> The symbolic link suggested by sturmvogel worked.

In updates testing but you can use qarepo https://wiki.mageia.org/en/QA_Repo

You must use the lib64 files in comment#7
katnatek 2025-03-07 17:10:23 CET

CC: j.alberto.vc => (none)

Comment 15 Michael Martins 2025-03-07 18:55:37 CET
Created attachment 14889 [details]
Tibia working.
Comment 16 katnatek 2025-03-07 20:55:03 CET
(In reply to Michael Martins from comment #15)
> Created attachment 14889 [details]
> Tibia working.

Can you confirm this is after install the testing packages?

Post the output of rpm -q lib64event7
Comment 17 Michael Martins 2025-03-07 21:25:14 CET
(In reply to katnatek from comment #16)
> (In reply to Michael Martins from comment #15)
> > Created attachment 14889 [details]
> > Tibia working.
> 
> Can you confirm this is after install the testing packages?
> 
> Post the output of rpm -q lib64event7

I tested it on 2 machines and it worked perfectly.

[michael@desktop Tibia]$ rpm -q lib64event7
lib64event7-2.1.12-4.1.mga9
katnatek 2025-03-07 21:59:32 CET

CC: (none) => andrewsfarm
Whiteboard: (none) => MGA9-64-OK

Comment 18 Thomas Andrews 2025-03-08 03:30:41 CET
Validating.

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 19 Mageia Robot 2025-03-08 04:30:21 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2025-0024.html

Resolution: (none) => FIXED
Status: REOPENED => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.