On Tue, Mar 20, 2012 at 10:33:46AM +0100, Jonathan Armani wrote:
> I think you want RTLD_GLOBAL flag, by default RTDL_LOCAL is used.
>
> >>> ctypes.CDLL("libGL.so", ctypes.RTLD_GLOBAL)
>
> >>> ctypes.CDLL("libGLU.so", ctypes.RTLD_GLOBAL)
>
That appears to be the ticket. Cheers
--
Best Regards
On Tue, Mar 20, 2012 at 09:02:13AM +, Edd Barrett wrote:
> Hi,
>
> Having spoken to sthen and djm, I am still stuck on this, so I am posting on
> ports, incase someone here knows.
>
> Im looking at porting something which uses ctypes to load first libGL and then
> libGLU. Once we strip the gu
On Tue, Mar 20, 2012 at 09:02:13AM +, Edd Barrett wrote:
> Hi,
>
> Having spoken to sthen and djm, I am still stuck on this, so I am posting on
> ports, incase someone here knows.
>
> Im looking at porting something which uses ctypes to load first libGL and then
> libGLU. Once we strip the gu
Hi,
Having spoken to sthen and djm, I am still stuck on this, so I am posting on
ports, incase someone here knows.
Im looking at porting something which uses ctypes to load first libGL and then
libGLU. Once we strip the gunk away, the library loading looks like this:
---8<---
import ctypes
ctype