26 May
2009
26 May
'09
5:17 p.m.
Francois Mauger wrote:
I do not understand where this 'bad_cast' exception comes from. For me it as nothing to do with: - the format of the archive (I know the archive file is ok as the test program store/load is properly) - the wrapping within Python (I can make it run ok within a sample python script)
Hi Francois, You could try adding this to the top of your script: import dl import sys flags = sys.getdlopenflags() sys.setdlopenflags(flags | dl.RTLD_GLOBAL) -t