Message394788
Hi Ned,
thanks for your detailed response. I have to say that the LD_LIBRARY_PATH partially worked in some cases, the library got loaded. However in cases where there were dependencies, further issues appeared particularly when the link (as revealed by otool -L) was prefixed by '@rpath'. I was able to fix these by editing these paths (which is possible in my use case), but we just need to note that it may cause difficulties for others.
We also found a solution to avoid needing to set the environment var. We use the following code
ct.CDLL(ctypes.util.find_library('mylib'))
instead of just passing the library. That works well, and perhaps you may recommend it in the docs. |
|
Date |
User |
Action |
Args |
2021-05-31 07:49:16 | Victor.Lazzarini | set | recipients:
+ Victor.Lazzarini, ronaldoussoren, ned.deily |
2021-05-31 07:49:16 | Victor.Lazzarini | set | messageid: <1622447356.16.0.950491582945.issue43964@roundup.psfhosted.org> |
2021-05-31 07:49:16 | Victor.Lazzarini | link | issue43964 messages |
2021-05-31 07:49:15 | Victor.Lazzarini | create | |
|