Re: [E-devel] Runtime/linking issue for the Edgar module in E

2020-04-22 Thread Carsten Haitzler
On Wed, 22 Apr 2020 08:44:37 +0200 Davide Andreoli said: > I tried to link python-efl modules to python3.so and it indeed solve the > issue for python-efl itself, > but the problem just moved down the chain as now I get the same error in > other python libs used by the gadgets, es: > > > Traceba

Re: [E-devel] Runtime/linking issue for the Edgar module in E

2020-04-21 Thread Davide Andreoli
I tried to link python-efl modules to python3.so and it indeed solve the issue for python-efl itself, but the problem just moved down the chain as now I get the same error in other python libs used by the gadgets, es: > Traceback (most recent call last): > File "/usr/local/lib/enlightenment/edga

Re: [E-devel] Runtime/linking issue for the Edgar module in E

2020-04-20 Thread Carsten Haitzler
On Mon, 20 Apr 2020 20:29:05 +0200 Davide Andreoli said: > your first idea was in the right direction ! > > if I change e_module_new to: > dlopen(modpath, (RTLD_NOW | RTLD_GLOBAL)); > edgar works again as expected \o/ ooh i just removed local.. didn't explicitly add global > I think this make

Re: [E-devel] Runtime/linking issue for the Edgar module in E

2020-04-20 Thread Davide Andreoli
your first idea was in the right direction ! if I change e_module_new to: dlopen(modpath, (RTLD_NOW | RTLD_GLOBAL)); edgar works again as expected \o/ I think this make sense because the edgar module.so is linked to python.so, but the python-efl bindings modules are not. Thus importing python mod

Re: [E-devel] Runtime/linking issue for the Edgar module in E

2020-04-17 Thread Carsten Haitzler
On Fri, 17 Apr 2020 23:20:25 +0200 Davide Andreoli said: > I found a way to get a bit more info, the python error while importing and > failing is: > ImportError: /usr/lib/python3.8/site-packages/efl/ > eo.cpython-38-x86_64-linux-gnu.so: undefined symbol: PyUnicode_FromFormat oh. ... so it i

Re: [E-devel] Runtime/linking issue for the Edgar module in E

2020-04-17 Thread Davide Andreoli
I found a way to get a bit more info, the python error while importing and failing is: ImportError: /usr/lib/python3.8/site-packages/efl/ eo.cpython-38-x86_64-linux-gnu.so: undefined symbol: PyUnicode_FromFormat eo.cpython-38-x86_64-linux-gnu.so is the python-efl module that bind the eo library, P

Re: [E-devel] Runtime/linking issue for the Edgar module in E

2020-04-17 Thread The Rasterman
On Fri, 17 Apr 2020 19:33:30 +0200 Davide Andreoli said: hmm no. removing RTLD_LOCAL makes no difference. so there goes that idea. i have python-efl bindings installed - i can run ecoonman-bin as a test. there is no output i see from python complaining... knowing what exactly fails will be key to

Re: [E-devel] Runtime/linking issue for the Edgar module in E

2020-04-17 Thread The Rasterman
On Fri, 17 Apr 2020 19:33:30 +0200 Davide Andreoli said: it may also be that i changed modules to load with RTDL_LOCAL in e_module_new() to have them not leak symbols to the rest of e when people are not careful to use static and careful namespacing. > Hi guys, > I'm lost in trying to fix the Ed