On Thu, Feb 12, 2015 at 11:42 PM, Marcus von Appen <m...@freebsd.org> wrote:

>
> You described the problem above. ctypes is unable to load linker
> scripts. The general advise is to use find_library():
>
> >>> import ctypes
> >>> import ctypes.util
> >>> clib = ctypes.util.find_library("c")
> >>> print clib
> libc.so.7
> >>> dll = ctypes.CDLL(clib)
>
> Cheers
> Marcus
>


That solves it.
Thanks!!

--
Craig
_______________________________________________
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"

Reply via email to