help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gnu-radius] Compiling GNU Radius 1.5.0 on www.clarkconnect.com box


From: Mikael Syska
Subject: [Help-gnu-radius] Compiling GNU Radius 1.5.0 on www.clarkconnect.com box
Date: Thu, 13 Mar 2008 14:56:04 +0100

Hi,

I'm trying to compile the GNU Radius 1.5.0 on my box.

It compiles fine without the --with-mysql option.

But this fails:
root [/root/files/radius-1.5]# ./configure --with-mysql
--with-lib-path=/usr/lib/mysql/

http://osdir.com/ml/gnu.radius.general/2004-03/msg00016.html
this is the same error, but the link does not work, and using the
extra flags does not work ....

If you need more info ... just ask ... i'm lost here.

with the following error:
checking for rl_completion_matches... yes
checking whether struct hostent has h_addr_list field... yes
checking for log directory path... /var/log
checking for pidfile directory path... /var/run
checking whether to build radius daemon... yes
checking whether to build client programs... no
checking authentication port number... Default ports are 1812/1813
checking for -lmysqlclient... no
configure: error: The requested library libmysqlclient is not found or
is unusable
See `config.log' for more details.

Locate says:
root [/root/files/radius-1.5]# locate mysqlclient
/opt/bacula/usr/lib/mysql/libmysqlclient.so.14.0.0
/opt/bacula/usr/lib/mysql/libmysqlclient.so.14
/opt/bacula/usr/lib/mysql/libmysqlclient_r.so.14
/opt/bacula/usr/lib/mysql/libmysqlclient_r.so.14.0.0
/usr/share/system-mysql/usr/lib/mysql/libmysqlclient.so.14.0.0
/usr/share/system-mysql/usr/lib/mysql/libmysqlclient.so.14
/usr/share/system-mysql/usr/lib/mysql/libmysqlclient_r.so.14
/usr/share/system-mysql/usr/lib/mysql/libmysqlclient_r.so.14.0.0
/usr/lib/mysql/libmysqlclient.so.14.0.0
/usr/lib/mysql/libmysqlclient_r.a
/usr/lib/mysql/libmysqlclient.a
/usr/lib/mysql/libmysqlclient.so.14
/usr/lib/mysql/libmysqlclient_r.so.14
/usr/lib/mysql/libmysqlclient_r.so.14.0.0


>From the config.log:
| builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char mysql_real_connect ();
| int
| main ()
| {
| return mysql_real_connect ();
|   ;
|   return 0;
| }
configure:46803: result: no
configure:46825: error: The requested library libmysqlclient is not
found or is unusable
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_c_inline=inline
ac_cv_c_restrict=__restrict
ac_cv_cxx_compiler_gnu=yes
ac_cv_decl_EOVERFLOW=yes
ac_cv_env_APXS_set=
ac_cv_env_APXS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_EMACSLOADPATH_set=
ac_cv_env_EMACSLOADPATH_value=
ac_cv_env_EMACS_set=
ac_cv_env_EMACS_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
?mysqlclient
: undefined reference to `SSL_CTX_ctrl'
/usr/lib/mysql//libmysqlclient.a(viosslfactories.o)(.text+0x3dc): In
function `new_VioSSLConnectorFd':
: undefined reference to `DH_free'
/usr/lib/mysql//libmysqlclient.a(viosslfactories.o)(.text+0x3f6): In
function `new_VioSSLConnectorFd':
: undefined reference to `SSL_CTX_set_default_verify_paths'
/usr/lib/mysql//libmysqlclient.a(viosslfactories.o)(.text+0x41e): In
function `new_VioSSLConnectorFd':
: undefined reference to `SSL_load_error_strings'
/usr/lib/mysql//libmysqlclient.a(viosslfactories.o)(.text+0x42f): In
function `new_VioSSLConnectorFd':
: undefined reference to `SSL_library_init'
/usr/lib/mysql//libmysqlclient.a(viosslfactories.o)(.text+0x434): In
function `new_VioSSLConnectorFd':
: undefined reference to `OPENSSL_add_all_algorithms_noconf'
/usr/lib/mysql//libmysqlclient.a(viosslfactories.o)(.text+0x48a): In
function `new_VioSSLAcceptorFd':
: undefined reference to `TLSv1_server_method'
/usr/lib/mysql//libmysqlclient.a(viosslfactories.o)(.text+0x495): In
function `new_VioSSLAcceptorFd':
: undefined reference to `SSL_CTX_new'
/usr/lib/mysql//libmysqlclient.a(viosslfactories.o)(.text+0x4b1): In
function `new_VioSSLAcceptorFd':
: undefined reference to `SSL_CTX_set_cipher_list'
/usr/lib/mysql//libmysqlclient.a(viosslfactories.o)(.text+0x4d8): In
function `new_VioSSLAcceptorFd':
: undefined reference to `SSL_CTX_ctrl'
/usr/lib/mysql//libmysqlclient.a(viosslfactories.o)(.text+0x4ef): In
function `new_VioSSLAcceptorFd':
: undefined reference to `SSL_CTX_set_verify'
/usr/lib/mysql//libmysqlclient.a(viosslfactories.o)(.text+0x509): In
function `new_VioSSLAcceptorFd':
: undefined reference to `SSL_CTX_set_session_id_context'
/usr/lib/mysql//libmysqlclient.a(viosslfactories.o)(.text+0x534): In
function `new_VioSSLAcceptorFd':
: undefined reference to `SSL_CTX_load_verify_locations'
/usr/lib/mysql//libmysqlclient.a(viosslfactories.o)(.text+0x55c): In
function `new_VioSSLAcceptorFd':
: undefined reference to `SSL_CTX_ctrl'
/usr/lib/mysql//libmysqlclient.a(viosslfactories.o)(.text+0x564): In
function `new_VioSSLAcceptorFd':
: undefined reference to `DH_free'
/usr/lib/mysql//libmysqlclient.a(viosslfactories.o)(.text+0x577): In
function `new_VioSSLAcceptorFd':
: undefined reference to `SSL_CTX_set_default_verify_paths'
/usr/lib/mysql//libmysqlclient.a(viosslfactories.o)(.text+0x59e): In
function `new_VioSSLAcceptorFd':
: undefined reference to `SSL_load_error_strings'
/usr/lib/mysql//libmysqlclient.a(viosslfactories.o)(.text+0x5af): In
function `new_VioSSLAcceptorFd':
: undefined reference to `SSL_library_init'
/usr/lib/mysql//libmysqlclient.a(viosslfactories.o)(.text+0x5b4): In
function `new_VioSSLAcceptorFd':
: undefined reference to `OPENSSL_add_all_algorithms_noconf'
/usr/lib/mysql//libmysqlclient.a(my_compress.o)(.text+0x5e): In
function `my_compress_alloc':
: undefined reference to `compress'
/usr/lib/mysql//libmysqlclient.a(my_compress.o)(.text+0x181): In
function `my_uncompress':
: undefined reference to `uncompress'
collect2: ld returned 1 exit status
configure:46767: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "GNU Radius"
| #define PACKAGE_TARNAME "radius"
| #define PACKAGE_VERSION "1.5"
| #define PACKAGE_STRING "GNU Radius 1.5"
| #define PACKAGE_BUGREPORT "address@hidden"
| #define PACKAGE "radius"
| #define VERSION "1.5"
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]