[nsd-users] Problem installing NSD

Eduardo Duarte eduardo.duarte at fccn.pt
Tue Jan 3 11:22:58 UTC 2012


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:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQIcBAEBAgAGBQJPAryGAAoJEJ9vHC1+BF+NnmEQAITqzzpXrSR6Y7MdAtdfMlpo
> O8c7VgGucJPbIPKBgd6wRC0DrQElHPy5IKjjRjh643ItYi6gsSJbLASLg8i857rq
> 0l+np/t7n0ghy142/4Y9daQycoJOJafWw9m0UDMRFR8RvVz9zjvLtBtTSBANALew
> wjseVSoacsG8KTQs5aqqlhodYbYiyVbzG4NrUB1QYNXogTJiXtSVzRYv/p5YJKpV
> sQ1dqRMqcTyP7SWuVIJTTZkU6ElvxyOY4w/nAWudppABt2OmPqlQQI3u5pMWqH3l
> XkzbmrAFeliZUtBj7qiEcxvxXYeNuiO46CyAQa3i/9w2r7GWljYZp47WJvsteObs
> R3eI3ayC0ZB8CRehzZoUJwAz4MMKN8/x9CobO3i80Ye+wXjrzDrdNBNT0KOrpLwH
> fFc7OVTvJPR/0dn1kHS5PuJ99D6SwGVhZyy1AaZeNl5UdI/CCyMSA9eMel7OwFZi
> yEX+TsPjN0JiPt85r5RYOgtENOtZyTmxHq0OCCZKcdjop0uaqz0RAuPegT5Ukrq/
> njLzzZTjxglsrKoN94LJNoMC5dldC3r30Mi7nI3t0kIZ1AcR0sINJpSOxVZj8zLP
> gfTdyBym6F351BbErkHSXNNN3srAOceNe5RKjhw4sXWbIbT9c4blk+kj94wXTS85
> I24nYiu/Gw5rSCT1j3Ta
> =M56o
> -----END PGP SIGNATURE-----
> _______________________________________________
> nsd-users mailing list
> nsd-users at NLnetLabs.nl
> http://open.nlnetlabs.nl/mailman/listinfo/nsd-users



More information about the nsd-users mailing list