I don't really understand it either since that is what I thought when
I looked at the libraries being used.  When I looked more closely at
src/lib/libradius.a, it was only 8 bytes long (i.e. not really a
library), but the libradius.a in src/lib/.libs is 223086 bytes and
contains the correct library information.  So, it seems that the
libradius.a file is not being copied correctly (or linked) from
src/lib/.libs to src/lib.  I'm not sure if this has something to do
with my ./configure line or if it has something to do with the
distribution I'm using (Mandriva Linux 10.2).  My configure line is as
follows:

./configure i586-mandrake-linux-gnu --program-prefix= --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include
--libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var
--sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --enable-static-dependencies --with-gnu-ld
--with-large-files --with-snmp --with-threads --with-thread-pool
--disable-ltdl-install --with-ltdl-lib=/usr/lib
--with-ltdl-include=/usr/include
--with-rlm-sql_postgresql-include-dir=/usr/include/pgsql
--with-rlm-sql_mysql-include-dir=/usr/include/mysql
--with-mysql-lib-dir=/usr/lib/mysql --with-rlm-dbm-lib-dir=/usr/lib
--with-rlm-krb5-include-dir=/usr/kerberos/include

I can fix this by patching everything from <path>/lib/libradius.a to
<path>/lib/.libs/libradius.a, but I would rather figure out if I'm
just doing something wrong that is causing this problem or if it is
something in the makefiles, etc.  I'm sure it's something that I have
done that has escaped my attention, but if it was a larger problem I
just wanted to report it.  Thanks for all your help.

On 10/14/05, Alan DeKok <[EMAIL PROTECTED]> wrote:
> Andrew Teixeira <[EMAIL PROTECTED]> wrote:
> > I came across error while trying to compile freeradius-1.0.5 today and
> > was looking for a solution.  I found a message on the list from
> > September 12 that no one responded to, so I looked into the problem a
> > little further and found a solution (at least for that section of the
> > compile).  The problem is in the Makefile for rlm_mschap in that it
> > doesn't include the md4.o object file when it compiles smbencrypt.c.
>
>   Huh?  Smbencrypt links to libradius.a, which includes md4.o.  I
> don't understand why there's any confusion around md4_calc.
>
>   Alan DeKok.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to