ars3niy / tdlib-purple

libpurple Telegram plugin using tdlib
Other
147 stars 29 forks source link

Cannot add Telegram account in pidgin #174

Open zoltan-dulac opened 1 year ago

zoltan-dulac commented 1 year ago

I have compiled tdlib-purple successfully on OSX, and did a make install successfully to install it so pidgin could use it. However, when I launch pigin and try to add my Telegram account, it doesn't appear in the protocol list in the "Add Account" dialog. I know I must be doing something wrong when I do the make install ... which directory should I set DEST_DIR to when doing the make install?

BenWiederhake commented 1 year ago

If you want to use it locally, the default DESTDIR is correct. Can you verify that either /usr/lib/purple-2/libtelegram-tdlib.so or /usr/lib/x86_64-linux-gnu/purple-2/libtelegram-tdlib.so exist?

If it exists: Quit pidgin entirely (make sure it's not even visible in the icon tray bar of running applications, dunno if Mac has that or not), and start it as pidgin -d > pidgin_out.log 2> pidgin_err.log. Search in the out file for lines like this:

(10:57:38) plugins: probing /usr/lib/x86_64-linux-gnu/purple-2/libtelegram-tdlib.so
(10:57:38) telegram-tdlib: version 0.8.1, tdlib 1.8.0
(10:57:38) telegram-tdlib: Connection in progress
(10:57:38) telegram-tdlib: Incoming update

If it says something like "could not be loaded", the exact error message probably tells you why.