From: Damir Shayhutdinov <damir@altlinux.org> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] help libtool Date: Fri, 6 Mar 2009 13:48:43 +0300 Message-ID: <679044850903060248p20a3d6f9l2dfd9ca1ef43d12b@mail.gmail.com> (raw) In-Reply-To: <200903061128.15711.kde@kde.kiev.ua> > Суть проблемы: Это лишь верхушка часть айсберга. > При запуске libtool: > builder@home rlm_eap]$ libtool --tag=CC --mode=link x86_64-alt-linux-gcc \ > -o radeapclient radeapclient.lo \ > libeap/libfreeradius-eap.la \ > -lnsl -lresolv -lpthread -lcrypto -lssl -lcrypto -lssl 2> /dev/null > Получается вызов: > x86_64-alt-linux-gcc -o .libs/radeapclient .libs/radeapclient.o > libeap/.libs/libfreeradius-eap.so -lnsl -lresolv -lpthread -lcrypto -lssl -Wl,--rpath -Wl,/usr/lib64/freeradius > В результате по причине включеного --as-need по умолчанию линкер не видит > библиотек. -Wl,--no-as-need ситуацию спасает но убивает кошерность :( поэтому > сего костыля не хочу. Ошибки линкера - в студию! > Собственно вопрос что можно сказать libtool что-бы он не пытался > впереть -Wl,--rpath -Wl,/usr/lib64/freeradius в конце строки запуска gcc, > или в идеале правильно размещал эти параметры, т.е. до -llib ? Прочитайте внимательнее в документации, что такое -rpath, и почему он не влияет на недолинкованность библиотек. > За ранее спасибо. > Понимаю что я чайник. Раннее пожалуйста. Приведите текст ошибки полностью.
next prev parent reply other threads:[~2009-03-06 10:48 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-03-06 9:28 Denis Kuznetsov 2009-03-06 10:48 ` Damir Shayhutdinov [this message] 2009-03-06 12:03 ` Denis Kuznetsov 2009-03-06 12:10 ` Damir Shayhutdinov 2009-03-06 12:26 ` Denis Kuznetsov
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=679044850903060248p20a3d6f9l2dfd9ca1ef43d12b@mail.gmail.com \ --to=damir@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