[nsd-users] Problem installing NSD
Eduardo Duarte
eduardo.duarte at fccn.pt
Tue Jan 3 11:55:59 UTC 2012
Hi Wouter,
I just run the openssl config again and in attach is the result!
I hope is useful.
Best regards,
Eduardo Duarte
W.C.A. Wijngaards wrote, On 01/03/2012 11:27 AM:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Eduardo,
>
> openssl config printouts its 'config result' as a little table of what
> it does (at the start, above the other make lines), and that would be
> useful; it somehow enables a dependency on libdl, and then we can
> replicate and test this situation (well, that was on my mind :-) ).
>
> Have fun with NSD!
>
> Best regards,
> Wouter
>
> On 01/03/2012 12:22 PM, Eduardo Duarte wrote:
>> Hello,
>>
>> And it worked! I did the line like you said and it worked. I
>> already have NSD installed.
>>
>> The line that I used for the configuration of openssl was
>> "./config --prefix=/usr/". What do you mean when on your last
>> question?
>>
>> Thanks,
>>
>> Eduardo Duarte
>>
>> W.C.A. Wijngaards wrote, On 01/03/2012 08:30 AM: Hi Eduardo,
>>
>>
>> On 01/02/2012 05:31 PM, Eduardo Duarte wrote:
>>>>> 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.
>> The solution would be LIBS=-ldl ./configure so that it adds libdl
>> to the link list, openssl seems to require it. This workaround is
>> for you but perhaps NSD needs to detect this openssl need. What
>> was your openssl config option line? This is something with the
>> openssl 1.0 loadable crypto module thingys?
>>
>> Best regards, Wouter
>>
>>>>> ********************* 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: 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
>>>>>> _______________________________________________ nsd-users
>>>>>> mailing list nsd-users at NLnetLabs.nl
>>>>>> http://open.nlnetlabs.nl/mailman/listinfo/nsd-users
>>>>> _______________________________________________ nsd-users
>>>>> mailing list nsd-users at NLnetLabs.nl
>>>>> http://open.nlnetlabs.nl/mailman/listinfo/nsd-users
>>> _______________________________________________ nsd-users mailing
>>> list nsd-users at NLnetLabs.nl
>>> http://open.nlnetlabs.nl/mailman/listinfo/nsd-users
>> _______________________________________________ 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/
>
> iQIcBAEBAgAGBQJPAuY6AAoJEJ9vHC1+BF+N4S4P/itqfS8qbiE7Cc+pVpIe7h2h
> tUSKzEha0z7hvJ8Swvi2Wms86oeyUkFRLmv2+jibP/T2eULMmSQsm6k3uL4mI+ZT
> 44K1jpsCIITQek8heOmpNXqmSJphbM1Hdgv5flq5VUSvPu0ZS0g4ev75meIRV5fw
> oEIR8RoqEFfTM9+YSZHNou5EI4sD7WTwPY7hfi0hfhuFgVDq/+HckCqhmY2QFzYy
> VkzZnbc7TeXuk5i3U8E89zSzIunMJmFIlYVSk1BOvY+xhB5tVZt1IWw7OV1pmWKy
> SV80yQILU78XZJAD8nMEoaH1vpyKF6yN0TBV1wXJuesrU07HWAlPHs0DcvFCqqHt
> bIytvWfwOaLB+GqGxxXZ81kwT8Z+nZtfS06HbCdP4NdjLvntSKQl/qGJcp0kb1kD
> rbD5GEdhRmoLtc22TxZUyv7SFPy7c99BzFDWjmHXu1vUG2ZxCbQO6UkVRKMVr/qq
> 16ZgMH/I4PwwuV1ENK321ZNxhLdg8AreZxRDpmZD7XOpn9TKDDDvKDKBYxoES8gA
> thTM4pMXdBIlT2+XSQv9V3IQL8ViKyRqmyITxv0XCsxJkAsf3OufWfk3E1LfBxBM
> m+Wox1vikSN12PFrCflwBHRf1jHudn5+oJe9UWPSek3hAHnLxmuRyOTKd/x/oP14
> CgUPhzgGRjVuJWQG2xsM
> =ZxxY
> -----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: opensslconfig.log
Type: text/x-log
Size: 15378 bytes
Desc: not available
URL: <http://lists.nlnetlabs.nl/pipermail/nsd-users/attachments/20120103/309e75ca/attachment.bin>
More information about the nsd-users
mailing list