svenstaro / rofi-calc

🖩 Do live calculations in rofi!
MIT License
964 stars 31 forks source link

calc.so not found #107

Closed niksingh710 closed 11 months ago

niksingh710 commented 11 months ago

(process:213768): Rofi-WARNING **: 10:57:28.637: ABI version of plugin: 'calc.so' does not match: 00000006 expecting: 00000007

recently started facing this

svenstaro commented 11 months ago

Did you update rofi without rebuilding rofi-calc?

niksingh710 commented 11 months ago

Did you update rofi without rebuilding rofi-calc?

I guess yes. But then I removed rofi-calc and re-installed it from aur.

svenstaro commented 11 months ago

So it works now?

niksingh710 commented 11 months ago

So it works now?

No it does not

Gives me same error.

niksingh710 commented 11 months ago

one thing i forgot to mention is i am using rofi-lbonn-wayland-git on arch linux it is from https://github.com/lbonn/rofi

joshpetit commented 11 months ago

I get the same error

YasserKa commented 11 months ago

Same issue. It works with rofi, but not with rofi-lbonn-wayland-git

Edit: I reinstalled rofi then rofi-lbonn-wayland-git and now it works.

joshpetit commented 11 months ago

I was using rofi-git, but switched to just rofi and it worked. Thanks @YasserKa

svenstaro commented 11 months ago

So can we consider this fixed?

joshpetit commented 11 months ago

I'd say for most it's fixed, but I imagine this would be a problem for anyone who's running rofi-git to get the latest changes. Could there be a way to make it work with it?

svenstaro commented 11 months ago

I'm not sure what the problem is here though. I suppose it would just need a rebuild since it's complaining about the ABI?

joshpetit commented 11 months ago

I'm not familiar with C so couldn't tell you, but for my purposes it's fixed and until someone who needs rofi-git comments on this I think you can consider it solved.

Rolv-Apneseth commented 11 months ago

I think this issue should maybe be reopened. Similar issues with this plugin, mine and rofi-emoji. Potential cause and fix referenced in an issue for rofi-emoji here. Seems to be an update to a rofi dependency which is not yet in a rofi release, but may be a problem for updated rofi versions in the future. Hope that's of some use, though I can't be of much more help since I used an awesome library to write my one so I don't actually know how the underlying C stuff works.