From: Mikhail Zabaluev <mhz@altlinux.org>
To: sisyphus@altlinux.ru
Subject: [sisyphus] Re: dia's feature
Date: Sun, 23 Mar 2003 03:47:19 +0300
Message-ID: <20030323004719.GB603@mhz.mikhail.zabaluev.name> (raw)
In-Reply-To: <200303221215.59676.LAV@VL3143.spb.edu>
Hello Vitaly,
On Sat, Mar 22, 2003 at 12:15:59PM +0300, Vitaly Lipatov wrote:
>
> On 22 Март 2003 03:26, Mikhail Zabaluev wrote:
>
> > Этому модулю, по-хорошему, нужна libxslt.so.1,
> > или, более формально, soname той библиотеки, с которой он
> > скомпилирован.
> Это я понимаю.
> > Если это какой-то лихой dlopen, нужно править исходники
> > модуля.
> Похоже.
> Мне кажется, это к glib2.0, в dia используется такой код:
>
> path = g_module_build_path("/usr/lib", "xslt");
> xslt_module = g_module_open(path, 0);
> if(xslt_module == NULL) {
> message_error(_("Could not load XSLT library (%s) : %s"), path, g_module
> return DIA_PLUGIN_INIT_ERROR;
> }
>
> Думаете, её вообще подгружать не надо в явном виде, они перемудрили?
Если она сама подгружается из модуля, достаточно слинковать с ней модуль.
В Linux это будет работать. Libtool, по идее, даже должен знать,
как это делать на всех платформах.
Если это делается прямо из приложения, в этом нет особого смысла.
--
Stay tuned,
MhZ JID: mhz@altlinux.org
___________
You will hear good news from one you thought unfriendly to you.
next prev parent reply other threads:[~2003-03-23 0:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-21 9:25 [sisyphus] " Valerij Pipin
2003-03-21 13:06 ` Alexey Morozov
2003-03-21 12:27 ` [sisyphus] " Vitaly Ostanin
2003-03-21 21:08 ` Vitaly Lipatov
2003-03-22 0:26 ` Mikhail Zabaluev
2003-03-22 9:15 ` Vitaly Lipatov
2003-03-23 0:47 ` Mikhail Zabaluev [this message]
2003-03-25 12:09 ` Dmitry V. Levin
2003-03-25 14:52 ` Vitaly Lipatov
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=20030323004719.GB603@mhz.mikhail.zabaluev.name \
--to=mhz@altlinux.org \
--cc=sisyphus@altlinux.ru \
/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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git