From: Roman Savochenko <rom_as@diyaorg.dp.ua> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: [devel] Коллизия символов разных динамических библиотек Date: Sat, 11 Sep 2010 22:02:07 +0300 Message-ID: <4C8BD22F.1010908@diyaorg.dp.ua> (raw) [-- Attachment #1: Type: text/plain, Size: 998 bytes --] Приветствую всех Натолкнулся тут на проблему с коллизией символов динамических библиотек. А именно, в моём проекте OpenSCADA, в Сизифе, перестала инициализироваться библиотека QT 4.7. Инициализация библиотеки осуществляется в отдельном модуле (разделяемая библиотека so), по зависимостям которого подтягиваются библиотеки QT, в первую очередь QTCore. Так вот, если зависимость на QTCore поместить в ядро программы, то всё прекрасно запускается и работает. Т.е. получается, что одинаковые символы QTCore оказываются раньше символов неких других модулей и вызываются именно они, в случае с модулем получается наоборот. В самой программе OpenSCADA уже нет ни одного простого символа за рамками собственных областей видимости поэтому грешу на используемые сторонние библиотеки, вроде Expat, Gd, OpenSSL. Следовательно вопрос. Можно-ли указать линкеру сообщать о коллизиях символов в динамических библиотек во время выполнения dlopen? Сам покопал тут и с ходу не нашёл. С уважением, Роман [-- Attachment #2: rom_as.vcf --] [-- Type: text/x-vcard, Size: 301 bytes --] begin:vcard fn:Roman Savochenko n:Savochenko;Roman org:DIYA Ltd adr:;;;Dneprodzerzinsk;Dnepropetrovsk;51925;Ukraine email;internet:rom_as@diyaorg.dp.ua title:Leading engineer-programer tel;work:+380569262025 tel;fax:+380569262025 tel;cell:+380679859815 url:http://diyaorg.dp.ua version:2.1 end:vcard
next reply other threads:[~2010-09-11 19:02 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-09-11 19:02 Roman Savochenko [this message] 2010-09-12 15:42 ` Roman Savochenko 2010-09-12 16:13 ` Денис Смирнов 2010-09-13 7:35 ` Roman Savochenko 2010-09-12 19:47 ` Alexander Bokovoy 2010-09-13 5:59 ` Roman Savochenko 2010-09-13 6:05 ` Roman Savochenko 2010-09-13 6:34 ` Alexander Bokovoy 2010-09-13 15:49 ` Roman Savochenko 2010-09-22 10:13 ` Roman Savochenko 2010-09-22 11:10 ` Alexander Bokovoy 2010-09-22 12:31 ` Roman Savochenko 2010-09-13 15:50 ` Dmitry V. Levin 2010-09-13 16:12 ` Roman Savochenko 2010-09-13 16:15 ` Dmitry V. Levin 2010-09-14 5:29 ` Roman Savochenko
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=4C8BD22F.1010908@diyaorg.dp.ua \ --to=rom_as@diyaorg.dp.ua \ --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