[nsd-users] Problem installing NSD

Eduardo Duarte eduardo.duarte at fccn.pt
Mon Jan 2 16:31:51 UTC 2012


Hello,

When running just "./configure" I'm using the openssl installed in the 
machine, but when running with "./configure 
--with-ssl=/root/openssl/openssl-1.0.0e/" is the compilation directory...

But when running it normally I look to the config.log (also in attatch) 
and have the following error.
*********************
configure:7036: result: yes
configure:7312: checking for SSL
configure:7335: result: found in /usr
configure:7344: checking for HMAC_CTX_init in -lcrypto
configure:7369: gcc -o conftest -g -O2   conftest.c -lcrypto >&5
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libcrypto.a(dso_dlfcn.o): 
In function `dlfcn_globallookup':
dso_dlfcn.c:(.text+0x2d): undefined reference to `dlopen'
dso_dlfcn.c:(.text+0x43): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x4d): undefined reference to `dlclose'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libcrypto.a(dso_dlfcn.o): 
In function `dlfcn_pathbyaddr':
dso_dlfcn.c:(.text+0x8f): undefined reference to `dladdr'
dso_dlfcn.c:(.text+0xe8): undefined reference to `dlerror'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libcrypto.a(dso_dlfcn.o): 
In function `dlfcn_bind_func':
dso_dlfcn.c:(.text+0x43d): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x514): undefined reference to `dlerror'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libcrypto.a(dso_dlfcn.o): 
In function `dlfcn_bind_var':
dso_dlfcn.c:(.text+0x5a1): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x67d): undefined reference to `dlerror'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libcrypto.a(dso_dlfcn.o): 
In function `dlfcn_unload':
dso_dlfcn.c:(.text+0x6e3): undefined reference to `dlclose'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libcrypto.a(dso_dlfcn.o): 
In function `dlfcn_load':
dso_dlfcn.c:(.text+0x7b7): undefined reference to `dlopen'
dso_dlfcn.c:(.text+0x828): undefined reference to `dlclose'
dso_dlfcn.c:(.text+0x86d): undefined reference to `dlerror'
collect2: ld returned 1 exit status
*********************
Any ideas?

Thanks,

Eduardo Duarte

W.C.A. Wijngaards wrote, On 01/02/2012 04:04 PM:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Eduardo,
>
> You did install the openssl to that directory, right?  It contains
> include/ lib/ and that sort of thing?  It is not the compilation
> directory of openssl?
>
> config.log contains an error message, search the text file for the
> 'checking for HMAX_CTX ..' and see what it says (some compiler error
> no doubt).
>
> Best regards,
>     Wouter
>
> On 01/02/2012 04:44 PM, Eduardo Duarte wrote:
>> Hello,
>>
>> The version of CentOS is "CentOS release 5.6 (Final)" There is no
>> special reason for building with this CentOS version but the
>> default one was 0.9.6 if I'm not mistaken and for that reason I
>> build and install the latest OpenSSL on the machine. The current
>> output of the openssl version is bellow. ************* [root at vm12
>> ~]# openssl version OpenSSL 1.0.0e 6 Sep 2011 *************
>>
>> I try to run "./configure" without any arguments and I get the
>> error I send. I also try to run "./configure
>> --with-ssl=/root/openssl/openssl-1.0.0e/" but the error continue.
>>
>> Thanks,
>>
>> Eduardo Duarte
>>
>>
>> Anand Buddhdev wrote, On 01/02/2012 03:36 PM:
>>> On 02/01/2012 16:25, Eduardo Duarte wrote:
>>>
>>> Hi Eduardo,
>>>
>>>> I'm new to NSD and I'm trying to install it on a CentOS
>>>> Machine. I just compile a new OpenSSL 1.0.0e version on to the
>>>> machine but I always get the error bellow when running
>>>> "./configure", and I already try it a few times.
>>>> ********************************** checking for memmove... yes
>>>>   checking for pselect prototype in sys/select.h... yes
>>>> checking for ctime_r prototype in time.h... yes checking for
>>>> struct timespec... yes checking for SSL... found in
>>>> /root/openssl/openssl-1.0.0e/ checking for HMAC_CTX_init in
>>>> -lcrypto... no configure: error: OpenSSL found in
>>>> /root/openssl/openssl-1.0.0e/, but version 0.9.7 or higher is
>>>> required **********************************
>>>>
>>>> Does any one had already a similar problem? Or can help me
>>>> with it?
>>> What version of CentOS are you building on? Is there any reason
>>> you specifically built this version of OpenSSL? Is the CentOS
>>> default not suitable?
>>>
>>> Also, what options are you running "configure" with?
>>>
>>> Anand Buddhdev RIPE NCC
>> _______________________________________________ nsd-users mailing
>> list nsd-users at NLnetLabs.nl
>> http://open.nlnetlabs.nl/mailman/listinfo/nsd-users
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQIcBAEBAgAGBQJPAdVwAAoJEJ9vHC1+BF+N1+8QAJfup63u5V6AZgz+kwW+eM9y
> XmJEEZU4PIr0MTal4v4gJk6Ynf3lms7NNAPW0kb/41oUEdHqyiSjGhrzvxKgohdQ
> PoOvOO79iiLI3T2Vp/ZzzYMx7tJScubgxaNtRpMqArasZSFdrsH1s7M6lyH+pThO
> 2re+E6Ar4VIkup2VoMrPQoAce7qWATK1H8e7+f6c/dh/gMJRs3vC6cR/GnT/KMqC
> jX62DE5lpBDc9YXweOmP3U86Z6wN2rQ8o8CfF4t5J5/ULEAY7LRaqawEtBu8+BA5
> Zmxb04McTCaEzyLQeKlxWGT9vopzUYGgioEo2B4bVCWjZm7Rm2g9r8KF20MJA9Gy
> RPaZODmQf6vkLRy4sdQx5dXJli9ULFCd9aTouiHAa186Rw35FCDw8FGHMusqO4bL
> WqBtQNbv/FRRO7LubUpakD3UZgktKvs3zcuOKdRY4wmz4qT1SP5mz7nATSDNodTU
> AN+eyUqgblVBGFwJU6T9nvXkPo0vFp5w2WkgkjILrvZ3BYwR0yZszceULqmcE9Lu
> 4ECSf1SRBh0T2y9Gp+KfmOWkDpajCDjEFVKxnevOEPzi09/hH/kZD9K/P06FssCd
> tDH/1hLfPUG9T43xOdAF9mekazu/CcGIm0VnvXtGKAhH/chWWp08BTssrYCcDFSE
> 9z0ehiUSGvLE6LFwag8O
> =i6t7
> -----END PGP SIGNATURE-----
> _______________________________________________
> nsd-users mailing list
> nsd-users at NLnetLabs.nl
> http://open.nlnetlabs.nl/mailman/listinfo/nsd-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 90547 bytes
Desc: not available
URL: <http://lists.nlnetlabs.nl/pipermail/nsd-users/attachments/20120102/80c715b9/attachment.bin>


More information about the nsd-users mailing list