building debian package - rlm_sql is not portable

Alan DeKok aland at deployingradius.com
Wed Feb 12 14:50:17 CET 2014


Marco Marino wrote:
> I'm trying to build debian package with 
> fakeroot dpkg-buildpackage -b -uc
> 
> for freeradius 2.2.3 on ubuntu 13.10 64 bit (3.11.0-15-generic)

  It should work...

> ...
> /home/ntt/freeradius-server-2.2.3/src/modules/rlm_sql/.libs/rlm_sql.la

  Which means "link that specific file"

>  -L/home/ntt/freeradius-server-2.2.3/debian/tmp//usr/local/lib
> -L/usr/local/lib -lfreeradius-radius -lrlm_sql

  And libtool turns that into "link to librlm_sql.so", which doesn't exist.

  <sigh>  There's a reason we deleted libtool in the v3 branch.  Libtool
claims to make things easier.  All it does is screw things up worse.

> If i try to compile (with ./configure and make) it works. Where i'm wrong?

  libtool is a horrible piece of software.

  Just do "./configure;make;make install" for now.

  Or, run v3.

  Alan DeKok.


More information about the Freeradius-Devel mailing list