ALT Linux Team development discussions
 help / color / mirror / Atom feed
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 15:10:31 +0300
Message-ID: <679044850903060410u671d2cf0ya6ee5dba378879aa@mail.gmail.com> (raw)
In-Reply-To: <200903061403.23206.kde@kde.kiev.ua>

>> Ошибки линкера - в студию!
> libtool --tag=CC --mode=link x86_64-alt-linux-gcc   -o radeapclient
> radeapclient.lo
> libeap/libfreeradius-eap.la -lnsl -lresolv  -lpthread -lcrypto -lssl -lcrypto
> x86_64-alt-linux-gcc -o .libs/radeapclient .libs/radeapclient.o
> libeap/.libs/libfreeradius-eap.so -lnsl -lresolv -lpthread -lssl -lcrypto   -Wl,--rpath -Wl,/usr/lib64/freeradius

Как видно по ключу "-o .libs/radeapclient" , компилируется программа
radeapclient.

> libeap/.libs/libfreeradius-eap.so: undefined reference to `SSL_set_ex_data'

Теперь внимание - ошибка выдается в библиотеке
libeap/.libs/libfreeradius-eap.so, которая, очевидно, не слинкована с
libssl. Это видно по началу строчки
(libeap/.libs/libfreeradius-eap.so:)

Так вот, исправлять ее надо в месте, где компилируется этот самый
libfreeradious-eap.so.

> В данный момент решаю проблему костылем в виде:
Решите ее правильно, добавлением -lssl -lcrypto в строчку линковки
libfreeradius-eap.so

И вообще, этот freeradius паковался в Сизиф не раз, и не два, и эти
проблемы с долинковкой лично я исправлял уже как минимум дважды.

> Но это всетаки не дело :(
Приятно, что вы это понимаете. Не беспокойтесь, чайник - это, в
большинстве случаев, временно.

  reply	other threads:[~2009-03-06 12:10 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
2009-03-06 12:03   ` Denis Kuznetsov
2009-03-06 12:10     ` Damir Shayhutdinov [this message]
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=679044850903060410u671d2cf0ya6ee5dba378879aa@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