From: Evgeniy Korneechev <ekorneechev@altlinux.org> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: [devel] HTTP File Upload plugin for libpurple Date: Fri, 7 Dec 2018 15:49:24 +0300 (MSK) Message-ID: <175310047.89382.1544186964146.JavaMail.zimbra@remotesystems.ru> (raw) ДД! Пытаюсь собрать из гита: https://github.com/Junker/purple-xmpp-http-upload (чтобы добавить модуль в Pidgin, для отправки файлов не как вложений, а ссылками на них). Инструкция простая, clone, make, make install. Перед этим установил следующие требуемые пакеты: libgio-devel glib2-devel libpurple-devel libxml2-devel pidgin Запуск сборки обломался как в https://github.com/Junker/purple-xmpp-http-upload/issues/8 : $ make cc -Wall -I. -g -pipe -fPIC -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include \ -I/usr/include/libpurple -I/usr/include/libxml2 -I./headers/jabber src/hfu_disco.c src/hfu_util.c \ src/jabber_http_file_upload.c -o jabber_http_file_upload.so -g -pipe -fPIC -pthread \ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpurple -I/usr/include/libxml2 \ -I./headers/jabber -lgio-2.0 -lgobject-2.0 -lpurple -lglib-2.0 -lxml2 -lz -lm -ldl -L/usr/lib64/purple-2 -ldl -lm -ljabber -shared /usr/bin/ld: cannot find -ljabber collect2: error: ld returned 1 exit status make: *** [jabber_http_file_upload.so] Error 1 Как и было указано в баге (правда там про федору) - поменял s/-ljabber/-lxmpp/g - сборка прошла успешно. Готовый so-шник установился в /usr/lib64/purple-2.0 Запускаем Pidgin, идем в модули - модуль "XMPP HTTP File Upload" неактивен. В подробностях следующее: Ошибка: undefined symbol: jabber_get_chat_name Данный symbol упоминается как в собранной so, так и в libxmpp # readelf -Ws /usr/lib64/purple-2/libxmpp.so | grep jabber_get_chat 55: 0000000000000000 0 FUNC GLOBAL DEFAULT UND jabber_get_chat_name Куда копать? В чем может быть проблема? PS Проверял в обновленной регулярке x86_64 PPS Проверил на упомянутой федоре 29 - там все нормально... Версия libpurple та же самая. libpurple-devel-2.13.0-alt2.x86_64 против libpurple-devel-2.13.0-6.fc29.x86_64 -- WBR, Korneechev Evgeniy BaseALT/ALTLinux Team
next reply other threads:[~2018-12-07 12:49 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-12-07 12:49 Evgeniy Korneechev [this message] 2018-12-07 16:49 ` Alexey Tourbin 2018-12-10 7:25 ` Evgeniy Korneechev 2018-12-11 6:07 ` Evgeniy Korneechev 2018-12-11 11:42 ` Alexey Tourbin 2018-12-11 11:53 ` Alexey Tourbin 2018-12-11 12:32 ` Evgeniy Korneechev 2018-12-11 13:17 ` Aleksei Nikiforov 2018-12-11 13:48 ` Evgeniy Korneechev 2018-12-12 11:31 ` Evgeniy Korneechev 2018-12-12 13:37 ` Alexey Shabalin 2018-12-12 13:58 ` Evgeniy Korneechev
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=175310047.89382.1544186964146.JavaMail.zimbra@remotesystems.ru \ --to=ekorneechev@altlinux.org \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git