From: "Dmitry V. Levin" <ldv@altlinux.org> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] E: incoming x86_64 reject: libusb-0.9.3-alt1.0 Date: Thu, 18 Sep 2008 02:11:18 +0400 Message-ID: <20080917221118.GA20365@wo.int.altlinux.org> (raw) In-Reply-To: <6062a6e60809170214s6eb4647fkd4e5a8310f052f3c@mail.gmail.com> [-- Attachment #1: Type: text/plain, Size: 1096 bytes --] On Wed, Sep 17, 2008 at 01:14:51PM +0400, Alexander Bokovoy wrote: [...] > > x86_64-alt-linux-gcc -shared .libs/libusb_la-core.o -L/usr/src/RPM/BUILD/libusb-0.9.3/libusb-compat-0.1.0-beta2/libusb -lusb-1.0 -Wl,-soname -Wl,libusb-0.1.so.4 -o .libs/libusb-0.1.so.4.4.4 > > /usr/bin/ld: cannot find -lusb-1.0 > > collect2: ld returned 1 exit status > В сборке libusb 0.9.3 на самом деле происходит сборка двух библиотек, > вторая из которых зависит от первой. При этом первая еще не > установлена в системе. Я делаю некоторые трюки (желающие могут > посмотреть в spec), чтобы собраться без установки в систему, Зря ты так делаешь. Обычно бывает лучше запаковать compat-библиотеку (libusb-0.1.so.4) отдельным пакетом. > но этот > подход почему-то не сработал на x86_64. Может ли кто-нибудь с близко > расположенным x86_64 посмотреть Виновата строка ln -s $(pwd)/tmproot/usr/lib/libusb-1.0.so libusb/libusb-1.0.so в файле libusb.spec, замена /usr/lib на %_libdir исправляет сборку. Но зачем собирать -compat вместе с основной библиотекой, остаётся неясным. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2008-09-17 22:11 UTC|newest] Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-09-17 9:14 ` Alexander Bokovoy 2008-09-17 9:21 ` Alexey I. Froloff 2008-09-17 10:02 ` Dmitry V. Levin 2008-09-17 10:10 ` Kirill A. Shutemov 2008-09-17 10:14 ` Alexey Gladkov 2008-09-17 10:16 ` Kirill A. Shutemov 2008-09-17 11:42 ` Dmitry V. Levin 2008-09-17 11:53 ` Kirill A. Shutemov 2008-09-17 22:11 ` Dmitry V. Levin [this message] 2008-09-18 4:08 ` Alexander Bokovoy 2008-09-18 10:18 ` Dmitry V. Levin 2008-09-18 10:35 ` Alexander Bokovoy 2008-09-18 11:00 ` Anton Farygin 2008-09-18 11:04 ` Alexander Bokovoy 2008-09-18 11:11 ` Anton Farygin 2008-09-18 11:14 ` Dmitry V. Levin 2008-09-18 12:12 ` Anton Farygin 2008-09-19 4:30 ` Andrey Rahmatullin 2008-09-19 4:38 ` Alexander Bokovoy
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=20080917221118.GA20365@wo.int.altlinux.org \ --to=ldv@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