[Nagiosplug-devel] check_radius, -lradiusclient, and libtool wierdness

Ton Voon ton.voon at altinity.com
Fri May 26 12:18:03 CEST 2006


I got the same problem on my Debian box. Not sure why libtool is  
changing -lradiusclient to the .so file.

I upgraded libtool to 1.5.22 and ran tools/setup && ./configure &&  
make and it worked, so I guess this is a bug in the older libtool  
(was on 1.5.6).

I'll update docs and build servers next week.

I personally think that the GNU toolchain (autoconf, automake,  
gettext, libtool) is a major pain in the arse, but I think it is like  
a latrine: very messy and deeply horrible, but if you don't use it,  
you'll end up cleaning up other people's shit.

Ton

On 26 May 2006, at 16:49, sean finney wrote:

> if anyone who knows more about libtool could comment on this, i'd be
> appreciative as it's currently blocking any progress with my debian
> packaging...
>
> 	sean
>
> On Fri, May 26, 2006 at 08:46:15AM -0700, SourceForge.net wrote:
>> Please note that this message will contain a full copy of the  
>> comment thread,
>> including the initial issue submission, for this request,
>> not just the latest update.
>> Category: Compilation
>> Group: Release (specify)
>> Status: Open
>> Resolution: None
>> Priority: 5
>> Submitted By: Holger Weiss (hweiss)
>> Assigned to: Nobody/Anonymous (nobody)
>> Summary: check_radius from 1.4.3 fails to build
>>
>> Initial Comment:
>> check_radius from the 1.4.3 release fails to build on
>> Debian Sarge (the 1.4.2 release works fine):
>>
>> /bin/sh ../libtool --mode=link --tag=CC gcc -Wall -g
>> -O2  -L. -o check_radius  check_radius.o netutils.o
>> utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a
>> -lnsl -lresolv -lradiusclient -lssl -lcrypto
>> gcc -Wall -g -O2 -o .libs/check_radius check_radius.o
>> netutils.o utils.o
>> -L/server/nagios/src/nagios-plugins-1.4.3/plugins
>> ../lib/libnagiosplug.a ../lib/libcoreutils.a -lresolv
>> /usr/lib/gcc-lib/i486-linux/3.3.5/../../..//.libs/libradiusclient.so
>> -lcrypt -lnsl -lssl -lcrypto
>> gcc:
>> /usr/lib/gcc-lib/i486-linux/3.3.5/../../..//.libs/libradiusclient.so:
>> No such file or directory
>> make[3]: *** [check_radius] Error 1
>>
>> Manually building check_radius by replacing the broken
>> path to libradiusclient.so with "-lradiusclient" works
>> fine.
>>
>> --------------------------------------------------------------------- 
>> -
>>
>>> Comment By: M. Sean Finney (seanius)
>> Date: 2006-05-26 11:46
>>
>> Message:
>> Logged In: YES
>> user_id=226838
>>
>> hey holger,
>>
>> i'm being bitten by this too.  afaict this problem has to do
>> with the recently introduced libtool support, but this is a
>> bit outside of my area of understanding.  it seems like
>> libtool is introducing a '.libs' directory in between the
>> actual directory and location of the radiusclient library.
>> i can't tell why exactly.
>>
>> i can verify, however, that if you comment out the
>> AC_PROG_LIBTOOL macro in configure.in and rebuild configure,
>> everything compiles successfully, so i thought i'd share
>> that with you :)
>>
>> now, i wonder if anyone else on the list knows what's going
>> on here...
>>
>> --------------------------------------------------------------------- 
>> -
>>
>> You can respond by visiting:
>> https://sourceforge.net/tracker/? 
>> func=detail&atid=397597&aid=1482840&group_id=29880
>>



http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon






More information about the Devel mailing list