grosjo / fts-xapian

Dovecot FTS plugin based on Xapian
GNU Lesser General Public License v2.1
91 stars 19 forks source link

Error when installing oplugin #111

Closed Seoxsc closed 2 years ago

Seoxsc commented 2 years ago

After installing the plugin DOVECOT crashes with: Error: Couldn't load required plugin /usr/lib/dovecot/modules/lib21_fts_xapian_plugin.so: Module is for different ABI version 2.3.ABIv4(2.3.4.1) (we have 2.3.ABIv17(2.3.17)) Is there a way to bypass this

grosjo commented 2 years ago

How are you installing it ? (source / package) Which OS ?

Seoxsc commented 2 years ago

Greetings, Debian Buster, installed from source (following the instructions from https://github.com/grosjo/fts-xapian )

El mié, 8 dic 2021 a las 12:46, Joan Moreau @.***>) escribió:

How are you installing it ? (source / package) Which OS ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/grosjo/fts-xapian/issues/111#issuecomment-989034552, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOXNV4VOOZ5MLFDP4EX4KELUP6KY3ANCNFSM5JT3UWSQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

grosjo commented 2 years ago

if you install from source, there can not be any ABI discrepancies

Are you really using the source from github ?

Seoxsc commented 2 years ago

Yes: git clone https://github.com/grosjo/fts-xapian

El mié, 8 dic 2021 a las 14:47, Joan Moreau @.***>) escribió:

if you install from source, there can not be any ABI discrepancies

Are you really using the source from github ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/grosjo/fts-xapian/issues/111#issuecomment-989142441, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOXNV4UOWNYOWO6UFD2THWTUP6Y6VANCNFSM5JT3UWSQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

grosjo commented 2 years ago

@Seoxsc Maybe the "make install" does not install in the binary in the right place. Have you checked the modules used by dovecot are the one you compiled ?

grosjo commented 2 years ago

@Seoxsc any news on that ?

Seoxsc commented 2 years ago

Greetings, yes I double checked, just to make sure I deleted the fts_xapian files from /usr/lib/dovecot/modules and recompiled everything, Dovecot is using:

ls -al /usr/lib/dovecot/modules/lib21_fts* -rw-r--r-- 1 root root 2847844 Dec 31 08:05 lib21_fts_xapian_plugin.a -rwxr-xr-x 1 root root 1119 Dec 31 08:05 lib21_fts_xapian_plugin.la -rwxr-xr-x 1 root root 1171496 Dec 31 08:05 lib21_fts_xapian_plugin.so

Same error: Couldn't load required plugin /usr/lib/dovecot/modules/lib21_fts_xapian_plugin.so: Module is for different ABI version 2.3.ABIv4(2.3.4.1) (we have 2.3.ABIv17(2.3.17))

El vie, 31 dic 2021 a las 7:23, Joan Moreau @.***>) escribió:

@Seoxsc https://github.com/Seoxsc any news on that ?

— Reply to this email directly, view it on GitHub https://github.com/grosjo/fts-xapian/issues/111#issuecomment-1003363678, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOXNV4V5U2VABGX4B3W6M7LUTWODZANCNFSM5JT3UWSQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

slavkoja commented 2 years ago

It seems that you build it against buster's dovecot sources, which is version 2.3.4.1, but you are using the 2.3.17.

You have to build plugin against source version, which you are using (or more precise with the same ABI version), as ABI is not compatible, as cleanly stated in error message.

grosjo commented 2 years ago

@Seoxsc is that resolved ?

grosjo commented 2 years ago

@Seoxsc I believe this is solved. Feel free to reopen if not

Seoxsc commented 2 years ago

Greetings, I tried everything but it didn't work.

El sáb, 12 feb 2022 a las 5:03, Joan Moreau @.***>) escribió:

Closed #111 https://github.com/grosjo/fts-xapian/issues/111.

— Reply to this email directly, view it on GitHub https://github.com/grosjo/fts-xapian/issues/111#event-6056337230, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOXNV4SQSIPUAHNXVHSCXSLU2YV6JANCNFSM5JT3UWSQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

grosjo commented 2 years ago

@Seoxsc Maybe try (1) compiling/installing dovecot from sources (2) compiling/installing pigeonhole from sources (3) compiling/installing fts-xapian