Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SOLVED]: Loading problem under Fedora 38 #1664

Closed
enigma131 opened this issue Oct 24, 2023 · 19 comments
Closed

[SOLVED]: Loading problem under Fedora 38 #1664

enigma131 opened this issue Oct 24, 2023 · 19 comments
Labels
wontfix not a conky bug, unreasonable effort required to fix or can't be fixed due to external limitations

Comments

@enigma131
Copy link

enigma131 commented Oct 24, 2023

What happened?

Nice tool, I use it since years ;)

I've upgraded Fedora from 37 to 38 .
Now I have loading problem : conky: error while loading shared libraries: liblua-5.3.so: cannot open shared object file: No such file or directory
Lua version is 5.4.4, and as opposite of Fedora 37, I can't downgrade Lua.
How to solve the loading error ?
Need I recompile it or done a ticket at Fedora ?

source : conky-1.19.2-1.fc38.src.rpm

Edit: I've post a ticket : https://forums.fedoraforum.org/showthread.php?331363-Fedora-38-problem-with-conky

Version

1.19.2

Which OS/distro are you seeing the problem on?

Fedora

Fedora gives link here :
https://packages.fedoraproject.org/pkgs/conky/conky/

@enigma131 enigma131 added bug related to incorrect existing implementation of some functionality triage issue that hasn't been verified, categorized or acknowledged yet labels Oct 24, 2023
@ctrlcctrlv
Copy link

this is a packaging issue, not a bug in conky.

does Fedora not separately package all the main Lua versions?

@enigma131
Copy link
Author

I don't know, i'll get no response there. I had try, earlier lua versions can't be loaded anymore for F38
I've done an up.

@ctrlcctrlv
Copy link

i'll get no response there

that sounds like a personal problem

@enigma131
Copy link
Author

You mean? You got it on Fedora 38 ?

@ernesto1
Copy link

ernesto1 commented Jan 31, 2024

@enigma131 this packaging problem is now fixed in fedora 39.

the new problem we have is that the version of conky available in the fedora repository does not support wifi.

Conky uses an old library to access wifi data from your system. This library is now deprecated in fedora.

hence fedora packages conky without wireless support since fedora 36 :(

@Caellian
Copy link
Collaborator

Created a new issue for BUILD_WLAN option and migration to mac80211/cfg80211.

Closing this as wontfix as it's a fedora packaging problem.

@Caellian Caellian closed this as not planned Won't fix, can't repro, duplicate, stale Apr 17, 2024
@Caellian Caellian added wontfix not a conky bug, unreasonable effort required to fix or can't be fixed due to external limitations and removed bug related to incorrect existing implementation of some functionality triage issue that hasn't been verified, categorized or acknowledged yet labels Apr 17, 2024
@enigma131
Copy link
Author

I will install Fedora 39 soon because F38 willl be EOL next times. I don't use Wifi on that computer.

@enigma131
Copy link
Author

Upgraded to F39 and same problem. F39 live is working, very very strange. All packets are same, conky, lua and imlib2

@Caellian
Copy link
Collaborator

Caellian commented May 8, 2024

@enigma131 you can try:

  • reinstalling dnf reinstall conky-1.19.6-1.fc40 lua-5.4.6-5.fc40
  • installing older Lua if there's no conflicts, with full package name: dnf install lua-5.3.5-3.fc29

If no of that works, build conky from source as that will make conky link to the latest version (you have installed). This has the added benefit that the build system will give you more details on what's wrong.

This is something you should report to [email protected] as nothing in our build files requires older version of Lua to be used so it's entirely a packaging problem (or you're doing something wrong).

@enigma131
Copy link
Author

First line can't operate, because I'm under F39.
I've try dnf reinstall conky lua , it reinstall conky-1.19.2-2.fc39.x86_64 and lua-5.4.6-3.fc39.x86_64, but:
conky
conky: error while loading shared libraries: liblua-5.3.so: cannot open shared object file: No such file or directory
then :
sudo dnf install lua-5.3.5-3.fc29
Dernière vérification de l’expiration des métadonnées effectuée il y a 0:04:18 le jeu. 09 mai 2024 09:28:17.
Aucune correspondance pour le paramètre: lua-5.3.5-3.fc29
Erreur : Impossible de trouver une correspondance: lua-5.3.5-3.fc29
remove lua will break 72 packets, so i did not apply.
Building gives me a lot of error, I've send an email to maintainers

@Caellian
Copy link
Collaborator

Caellian commented May 9, 2024

remove lua will break 72 packets, so i did not apply.

Ok, don't break your system, haha. So you really need conky to link to latest lua-libs.

Dernière vérification de l’expiration des métadonnées effectuée il y a 0:04:18 le jeu. 09 mai 2024 09:28:17.
Aucune correspondance pour le paramètre: lua-5.3.5-3.fc29
Erreur : Impossible de trouver une correspondance: lua-5.3.5-3.fc29

Can you give a short translation of the first line? I'm guessing (don't speak french) it's saying something along the lines of "can't verify dependency because it's marked as expired effective ".

Building gives me a lot of error

Paste those errors here, they will be helpful for debugging what's wrong on your system. Also, if you haven't already, link this issue in the email (respond to your own with a link to this issue). Package maintainers would benefit from details on this issue.

I'm working on updating libiw to netlink here. That's 80% complete, but I'm a bit busy with life stuff atm.

@enigma131
Copy link
Author

enigma131 commented May 9, 2024 via email

@enigma131
Copy link
Author

I've finaly found the issue.
I had 2 instance of conky, one in /usr/bin/ and one in /usr/local/bin/
when i do conky, it's the one not updated in /usr/local/bin/ that is called..
I think its an Fedora upgrade issue, can you confirm ?

@Caellian
Copy link
Collaborator

I've finaly found the issue.
I had 2 instance of conky, one in /usr/bin/ and one in /usr/local/bin/
when i do conky, it's the one not updated in /usr/local/bin/ that is called..
I think its an Fedora upgrade issue, can you confirm ?

Not necessarily, that could've happened if you manually compiled conky and then installed it through CMake. It's unlikely that the package was bad because (I think) installed files are removed automatically on uninstall (i.e. they use the same path), so even if two versions used a different binary path the previous binaries would've been uninstalled properly.

@enigma131
Copy link
Author

Ok, but other strange thing, when i remove the binary from /usr/local/bin/ conky will be not found. I have to copy the one from correct path (from updates) to /usr/local/bin/ . Other binarys from /usr/bin are found from terminal

@enigma131
Copy link
Author

I've finaly found the issue.
I had 2 instance of conky, one in /usr/bin/ and one in /usr/local/bin/
when i do conky, it's the one not updated in /usr/local/bin/ that is called..
I think its an Fedora upgrade issue, can you confirm ?

@enigma131
Copy link
Author

Definitly solved.
As binary in /usr/local/bin/ is not updated by Fedora but the path is set in priority in PATH environment variable, I've removed the binary in that place.

@enigma131 enigma131 changed the title [Bug]: Loading problem under Fedora 38 [SOLVED]: Loading problem under Fedora 38 May 13, 2024
@Caellian
Copy link
Collaborator

I've finaly found the issue.
I had 2 instance of conky, one in /usr/bin/ and one in /usr/local/bin/
when i do conky, it's the one not updated in /usr/local/bin/ that is called..
I think its an Fedora upgrade issue, can you confirm ?

Responded to this from mobile but I can't see it now on PC, guess it didn't get sent.

It's not necessarily an upgrade issue, what might've happened was that you installed conky via CMake at some point which used a different install path.
I believe dnf removes old files and adds new ones if paths change between versions, but it's also unlikely that they've actually changed.

@enigma131
Copy link
Author

No dnf don't remove old path(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix not a conky bug, unreasonable effort required to fix or can't be fixed due to external limitations
Projects
None yet
Development

No branches or pull requests

4 participants