Le ven 02/04/2004 à 23:58, Paul Hampson a écrit :
> On Fri, Apr 02, 2004 at 05:48:48PM +0200, Jérôme Warnier wrote:
> > Le jeu 01/04/2004 à 10:24, Costin Manda a écrit :
> > > you can check dependencies with the Linux command ldd. What version of
> > > Freeradius are you using and have you compiled freeradius yourself?
> > Yes, I compiled it myself because I need the PostgreSQL support.
> > I'm running Debian Sarge.
> 
> Did you compile it using dpkg-buildpackage, from the Debian sources?
Yes.
> 
> You can use the Sarge version with PostgreSQL, you just need to run
> it though iODBC. It'll save you recompiling when new versions are
> released.
I'm really concerned about performance, that's why I preferred using
libpq. I don't care about recompiling, it takes less than 3 minutes to
do it on the current machine, and it is not the more powerful I have.

> > What is it supposed to give?
> > Mine is like so:
> >         libcrypt.so.1 => /lib/libcrypt.so.1 (0x4001d000)
> >         libnsl.so.1 => /lib/libnsl.so.1 (0x4004a000)
> >         libresolv.so.2 => /lib/libresolv.so.2 (0x4005f000)
> >         libpthread.so.0 => /lib/libpthread.so.0 (0x40072000)
> >         libradius-0.9.2.so => /usr/lib/freeradius/libradius-0.9.2.so
> > (0x400c3000)
> >         libltdl.so.3 => /usr/lib/libltdl.so.3 (0x400d5000)
> >         libdl.so.2 => /lib/libdl.so.2 (0x400dc000)
> >         libc.so.6 => /lib/libc.so.6 (0x400df000)
> >         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> 
> > It does not show any reference to MySQL or PostgreSQL like I was
> > expecting. Nor does a "ldd /usr/lib/freeradius/libradius-0.9.2.so".
> 
> That's ldd of rlm_sql_mysql.so? Weird.
No, that was a "ldd /usr/sbin/freeradius", but I think it is not linked
against PostgreSQL anyway, as I realized later.

A "ldd /usr/lib/freeradius/rlm_sql_postgresql-0.9.2.so" gives:
        libpq.so.3 => /usr/lib/libpq.so.3 (0x40009000)
        libc.so.6 => /lib/libc.so.6 (0x40024000)
        libssl.so.0.9.7 => /usr/lib/i686/cmov/libssl.so.0.9.7
(0x40158000)
        libcrypto.so.0.9.7 => /usr/lib/i686/cmov/libcrypto.so.0.9.7
(0x40189000)        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x40286000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x402ee000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x4031b000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x4032d000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
        libdl.so.2 => /lib/libdl.so.2 (0x40343000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x40346000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0x40368000)

So this seems right to me. What do you think?

> --
> Paul "TBBle" Hampson, on an alternate email client.
> 
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- 
Jérôme Warnier
Consultant
BeezNest
http://beeznest.net


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

Reply via email to