Git master branch & Debian build

Alan DeKok aland at deployingradius.com
Fri Nov 16 16:55:09 CET 2012


Olivier Beytrison wrote:
> With those activated, it fails at linking rlm_sql_log.la
> LINK rlm_sql_log.la rlm_sql_log.lo
> libtool: link: warning: `-release' is ignored for convenience libraries

  Well, that's minor.

> ar:
> /opt/src/freeradius/FR3/freeradius-server/src/modules/rlm_sql/.libs/.libs/rlm_sql.a:
> No such file or directory
> (there two times .libs in the path, when one is enough. editing the
> Makefile and removing the .libs in RLM_LIBS works, but it fails further
> down.

  I have no idea why the extra .libs is there.  Where is RLM_LIBS adding
the .libs?  It shouldn't be doing that.

> --sourcedir=/opt/src/freeradius/FR3/freeradius-server/debian/tmp/ -p
> libfreeradius3
> dh_install: libfreeradius3 missing files
> (usr/lib/freeradius/libfreeradius*-3.*.so), aborting

  Hmm... that should be there.

> usr/lib/freeradius/libfreeradius-radius-3.0.0.la -> libfreeradius-radius.la
> usr/lib/freeradius/libfreeradius-radius.a
> usr/lib/freeradius/libfreeradius-radius.la
> usr/lib/freeradius/libfreeradius-radius.so
> 
> so yeah no libfreeradius-3.*.so

  I hate libtool.  It's magic.  The authors seem to be hell-bent on
making everyone's lives more difficult.

  We tell it to make a library with versioning.  What does it do?
Create a ".la" with versioning, but not a ".so" with versioning.

  Libtool needs to die in fire.

  Change the debian build so that it uses --boilermake=yes, and delete
--with-system-libltdl and --with-system-libtool.

  Alan DeKok.


More information about the Freeradius-Users mailing list