ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <alexey.tourbin@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] HTTP File Upload plugin for libpurple
Date: Tue, 11 Dec 2018 14:53:00 +0300
Message-ID: <CA+qzennyVB=WMVDv2EYaTimxpx-JVi9BYE024Yq4VBkYWiiPow@mail.gmail.com> (raw)
In-Reply-To: <CA+qzenmMYvxremHf2PK9=PDqJ1fnhFVEz5uHJ_9iiqtgmNH0HA@mail.gmail.com>

On Tue, Dec 11, 2018 at 2:42 PM Alexey Tourbin <alexey.tourbin@gmail.com> wrote:
> On Mon, Dec 10, 2018 at 10:25 AM Evgeniy Korneechev
> <ekorneechev@altlinux.org> wrote:
> >
> > >> Запускаем 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
> > >
> > > Упоминается, но нулей подряд слишком много. Ищите где еще упоминается,
> > > но нулей поменьше.
> >
> > Да, что-то я пропустил:
> > # readelf -Ws /usr/lib64/purple-2/libjabber.so.0.0.0 | grep jabber_get_chat
> >    778: 0000000000024d90    89 FUNC    GLOBAL DEFAULT   11 jabber_get_chat_name
> >
> > То есть описание есть, а модуль почему-то не видит его...
>
> Вот так вроде нормально линкуется, но почему-то симлинка для -ljabber
> нету, только libjabber.so.0.
>
> -LDFLAGS ?= -ldl -lm -ljabber
> +LDFLAGS ?= -ldl -lm -lxmpp /usr/lib64/purple-2/libjabber.so.0
> -Wl,--no-undefined

Соответственно можно не патчить, а передать LDFLAGS аргументом мейку:

make LDFLAGS='-lxmpp %_libdir/purple-2/libjabber.so.0 -Wl,--no-undefined'

(-ldl и -lm не нужны)

  reply	other threads:[~2018-12-11 11:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-07 12:49 Evgeniy Korneechev
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 [this message]
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='CA+qzennyVB=WMVDv2EYaTimxpx-JVi9BYE024Yq4VBkYWiiPow@mail.gmail.com' \
    --to=alexey.tourbin@gmail.com \
    --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