Cryptlib Python bindings __res_query undefined

View: New views
4 Messages — Rating Filter:   Alert me  

Cryptlib Python bindings __res_query undefined

by jp.morlet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This error disappeared after adding the "resolv" library in "setup.py"

else:
    ext = Extension("cryptlib_py",
                    sources=["python.c"],
                    library_dirs=['..'],
                    libraries=['cl','resolv'])


_______________________________________________
Cryptlib mailing list
Cryptlib@...
Administration via Mail: cryptlib-request@...
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.

Re: Cryptlib Python bindings __res_query undefined

by Peter Gutmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

jp.morlet@... writes:

>This error disappeared after adding the "resolv" library in "setup.py"
>
>else:
>    ext =3D Extension("cryptlib_py",
>                    sources=3D["python.c"],
>                    library_dirs=3D['..'],
>                    libraries=3D['cl','resolv'])

This should really be solved at the cryptlib build level, which OS was this
on?  tools/getlibs.sh should find the right libs for the build, so it'd be
best to fix things at that level.

Peter.


_______________________________________________
Cryptlib mailing list
Cryptlib@...
Administration via Mail: cryptlib-request@...
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.

Parent Message unknown Re: Cryptlib Python bindings __res_query undefined

by jp.morlet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



>>This error disappeared after adding the "resolv" library in "setup.py"
>>
>>else:
>>    ext =3D Extension("cryptlib_py",
>>                    sources=3D["python.c"],
>>                    library_dirs=3D['..'],
>>                    libraries=3D['cl','resolv'])
>
>This should really be solved at the cryptlib build level, which OS was this
>on?  tools/getlibs.sh should find the right libs for the build, so it'd be
>best to fix things at that level.
>
>Peter.
Sorry to answer in a new thread but I have some problems with this mail account.

I encountered this problem with various Linux distributions, here Ubuntu (Breezy
Badger), but no difference with LTE newer version.
~$ uname -a
Linux ubuntu 2.6.12-10-386 #1 Tue Jul 18 22:08:27 UTC 2006 i686 GNU/Linux

_______________________________________________
Cryptlib mailing list
Cryptlib@...
Administration via Mail: cryptlib-request@...
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.

Re: Re: Cryptlib Python bindings __res_query undefined

by Peter Gutmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

jp.morlet@... writes:
>I encountered this problem with various Linux distributions, here Ubuntu
>(Breezy Badger), but no difference with LTE newer version.
>~$ uname -a
>Linux ubuntu 2.6.12-10-386 #1 Tue Jul 18 22:08:27 UTC 2006 i686 GNU/Linux

Uhh, but the Linux build is already linked with -lresolv.

Peter.

_______________________________________________
Cryptlib mailing list
Cryptlib@...
Administration via Mail: cryptlib-request@...
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.