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

ABI version mismatch #62

Open
ghost opened this issue Mar 16, 2016 · 13 comments
Open

ABI version mismatch #62

ghost opened this issue Mar 16, 2016 · 13 comments

Comments

@ghost
Copy link

ghost commented Mar 16, 2016

'Irssi: otr/otr is ABI version 0 but Irssi is version 1, cannot load

I'm using irssi 0.8.18 and irssi-otr 1.0.0 on Arch Linux. This was all working a couple of weeks ago.

@anarcat
Copy link
Contributor

anarcat commented Mar 22, 2016

this is affecting all debian testing (and above) users as well: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818590

i think the short fix is just to rebuild the plugin. to quote the Debian bug report above:

irssi needs to arrange to provide a virtual package, e.g. irssi-abi-1
and must ensure that plugins pick up a proper dependency on this virtual
package. Once the abi changes (and the virtual package is renamed), this
will visibly trigger a transition.

There are several packages in the archive doing this, I think proftpd is
one of them.

@dgoulet
Copy link
Member

dgoulet commented Mar 25, 2016

Hopefully fixed with #62

@dgoulet dgoulet closed this as completed Mar 25, 2016
@ghost
Copy link
Author

ghost commented Mar 30, 2016

I can confirm the latest master fixes this issue for me.

@anarcat
Copy link
Contributor

anarcat commented Mar 30, 2016

i have uploaded a new version in debian sid that, according to my friendly testers, fixes the issue as well.

@Eluvatar
Copy link

Eluvatar commented Oct 8, 2016

This problem now happens on fedora.

@VERTlG0
Copy link

VERTlG0 commented Oct 9, 2016

I'm having this issue on Gentoo as well with irssi v0.8.20-r1 and irssi-otr v1.0.0-r1 in Portage Package Manager. I updated irssi-otr-1.0.0-r1 to pull in irssi-otr-1.0.1 but seems i still get the error about the ABI version. Is there a newer version than irssi-otr-1.0.1? I guessed at the version number when doing the ebuild, but it seemed to pull in a tar for it.

@dominic-miglar
Copy link

irssi 0.8.20 (20160914 1355) here. I have the same problem.

@dgoulet
Copy link
Member

dgoulet commented Dec 7, 2016

I just pushed v1.0.2 with the ABI fix. Make sure to install libotr.so in the modules/ directory so irssi can call the right abicheck that is "otr_abicheck()". For some reasons, irssi also triese libotr_core.so but that will fail so the package must really install libotr.so

@dgoulet dgoulet reopened this Dec 7, 2016
@anarcat
Copy link
Contributor

anarcat commented Dec 8, 2016 via email

@traumschule
Copy link

Hi and HNY! Just ran into this after recompiling irssi. With above info i should be able to figure it out but i'm afraid i'm not for ea5b8e0:

/load otr
-!- Irssi: otr/otr is ABI version 13 but Irssi is version 19, cannot load

$ irssi --version
irssi 1.2-gc7ce0f32 (20181218 2053)

irssi-libotr$ make install
...
libtool: install: /usr/bin/install -c .libs/libotr.so /home/traumschule/usr/lib/irssi/modules/libotr.so

$ ls -l ~/.irssi/modules/libotr.so
lrwxrwxrwx 1 traumschule users 49 20. Dez 2017  /home/traumschule/.irssi/modules/libotr.so -> /home/traumschule/usr/lib/irssi/modules/libotr.so

$ ls -lh /home/traumschule/usr/lib/irssi/modules/libotr.so
-rw-r--r-- 1 traumschule users 275K  7. Jan 15:15 /home/traumschule/usr/lib/irssi/modules/libotr.so

$ file ~/usr/lib/irssi/modules/libotr.so
/home/traumschule/usr/lib/irssi/modules/libotr.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, with debug_info, not stripped

/load otr
-!- Irssi: otr/otr is ABI version 13 but Irssi is version 19, cannot load

And with a new profile:

mkdir -p new/modules
cp ~/usr/lib/irssi/modules/libotr.so new/modules
irssi --home new
 Irssi v1.2-gc7ce0f32 - https://irssi.org                                                                       
15:46 -!-  ___           _
15:46 -!- |_ _|_ _ _____(_)
15:46 -!-  | || '_(_-<_-< |
15:46 -!- |___|_| /__/__/_|
15:46 -!- Irssi v1.2-gc7ce0f32 - https://irssi.org
15:46 -!- Irssi: otr/otr is ABI version 13 but Irssi is version 19, cannot load

@traumschule
Copy link

In #irssi i was told to just compile irssi with ./configure --with-otr and it worked.

@Rhialto
Copy link

Rhialto commented Jan 13, 2019

I just tried that with the latest released version from the website https://irssi.org/download/ (1.1.2) and configure did not recognize that option.

@traumschule
Copy link

It's only in git so far and will be in 1.2, see irssi/irssi#881

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants