Hi Samuel,
In configure.ac of libdect I see:
# Checks for libraries.
AC_CHECK_LIB([nl], [nl_socket_alloc], ,
[AC_MSG_ERROR([No suitable version of libnl found])])
The resulting conftest is:
configure:3400: gcc -o conftest -g -O2 conftest.c -lnl >&5
/usr/bin/ld: cannot find -lnl
collect2: ld returned 1 exit status
configure:3400: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libdect"
| #define PACKAGE_TARNAME "libdect"
| #define PACKAGE_VERSION "0.0.1"
| #define PACKAGE_STRING "libdect 0.0.1"
| #define PACKAGE_BUGREPORT "kaber(a)trash.net"
| #define PACKAGE_URL ""
| #define RELEASE_NAME "libdect"
| #define _GNU_SOURCE /**/
| #define _STDC_FORMAT_MACROS /**/
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char nl_socket_alloc ();
| int
| main ()
| {
| return nl_socket_alloc ();
| ;
| return 0;
| }
configure:3409: result: no
configure:3419: error: No suitable version of libnl found
* No PKG_CHECK_MODULES used
* No AC_CHECK_HEADERS used
* AC_CHECK_LIB used
On Fri, Apr 20, 2012 at 08:57:56PM -0700, Samuel Sieb wrote:
Configure won't be looking for the .so. It will
be looking for the
.h file or the pkgconfig info. You need to install the dev or devel
package for libnl.
Are you really sure that this is correct?
Kind regards,
-Alexander Huemer