From: Roman Savochenko <rom_as@diyaorg.dp.ua> To: sisyphus@lists.altlinux.org Subject: [sisyphus] Линкер: проблема с подключением через зависимости Date: Thu, 24 May 2012 18:26:32 +0300 Message-ID: <4FBE5328.2040906@diyaorg.dp.ua> (raw) [-- Attachment #1: Type: text/plain, Size: 1059 bytes --] Приветствую Всех Пару недель назад начал получать сообщения о проблеме пересборки трёх пакетов, с ошибками вроде: /usr/bin/ld: slideraction.o: undefined reference to symbol 'QSlider::sizeHint() const' /usr/bin/ld: note: 'QSlider::sizeHint() const' is defined in DSO /usr/lib64/libqt-mt.so.3 so try adding it to the linker command line /usr/lib64/libqt-mt.so.3: could not read symbols: Invalid operation collect2: ld returned 1 exit status Разбор показал, что линкер с некоторых пор стал игнорировать динамические связи уже указанных библиотек, а настаивает на прямом указании библиотеки, символы которых используются. Так, в случае выше, указанная ошибка вылезла в kdemultimedia, после того как я уже прямо указал три библиотеки. Библиотека libqt-mt, которую он просит, есть в зависимостях ранее указанных libkdecore, libkdeui и ряда других. Такое поведение это новый финт или всё-же проблема в линкере? P.S. Два других пакета я поправил, добавив прямое указание по библиотеке. А этот меня насторожил, после добавления трёх! С уважением, Роман [-- Attachment #2: rom_as.vcf --] [-- Type: text/x-vcard, Size: 324 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:+380675675542 tel;fax:+380569262025 tel;home:+380569292458 tel;cell:+380679859815 url:http://diyaorg.dp.ua version:2.1 end:vcard
next reply other threads:[~2012-05-24 15:26 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-05-24 15:26 Roman Savochenko [this message] 2012-05-24 15:45 ` Dubrovskiy Viacheslav
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=4FBE5328.2040906@diyaorg.dp.ua \ --to=rom_as@diyaorg.dp.ua \ --cc=sisyphus@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 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