3.0.4rc2 missing pcre devel libs check missing from configure

Peter Lambrechtsen peter at crypt.co.nz
Tue Sep 2 03:38:47 CEST 2014


I just downloaded 3.0.4rc2 to check it on a development box I recently had
built for me.

It seems the configure script isn't checking to make sure pcre development
libs are installed.

This was on a RHEL 6.5 64bit box.


....
CC src/lib/heap.c
CC src/lib/tcp.c
CC src/lib/base64.c
CC src/lib/version.c
/usr/bin/ld: cannot find -lpcre
collect2: ld returned 1 exit status
make: *** [build/lib/local/libfreeradius-radius.la] Error 1
...

yum install pcre-devel

Then afterwards

....
CC src/lib/heap.c
CC src/lib/tcp.c
CC src/lib/base64.c
CC src/lib/version.c
LINK build/lib/libfreeradius-radius.la
CC src/tests/rbmonkey.c
LINK build/bin/rbmonkey
...

Might be worth adding a check in to make sure the development libs are
available.

Cheers

Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20140902/49c7c2c7/attachment.html>


More information about the Freeradius-Devel mailing list