ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Denis Kuznetsov <kde@kde.kiev.ua>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: [devel] help libtool
Date: Fri, 6 Mar 2009 11:28:15 +0200
Message-ID: <200903061128.15711.kde@kde.kiev.ua> (raw)

доброго времени суток!
Суть проблемы:
При запуске 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 ? 

За ранее спасибо.
Понимаю что я чайник.
-- 
Denis Kuznetsov

             reply	other threads:[~2009-03-06  9:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-06  9:28 Denis Kuznetsov [this message]
2009-03-06 10:48 ` Damir Shayhutdinov
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=200903061128.15711.kde@kde.kiev.ua \
    --to=kde@kde.kiev.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