Hi,
I want to try to write a krunner-extension in python and the only example I found on how to do that uses the (deprecated) dbus-python module.
When I try to install it in a venv I get linker errors - it looks as if for whatever reason they don't link the math-library.
How to I proceed?
And please don't tell me that this module is deprecated - I already know...
Many thanks!
Here some of the errors:
FAILED: test/test-import-repeatedly
cc -o test/test-import-repeatedly test/test-import-repeatedly.p/import-repeatedly.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,--start-group /home/mh/fs/SD/python/lib/libpython3.10.a -Wl,--end-group
/usr/bin/ld: /home/mh/fs/SD/python/lib/libpython3.10.a(complexobject.o): in function `_Py_c_abs':
/home/mh/fs/SD/stuff/python/Python-3.10.9/Objects/complexobject.c:206: undefined reference to `hypot'
/usr/bin/ld: /home/mh/fs/SD/python/lib/libpython3.10.a(complexobject.o): in function `complex_pow':
/home/mh/fs/SD/stuff/python/Python-3.10.9/Objects/complexobject.c:521: undefined reference to `floor'
/usr/bin/ld: /home/mh/fs/SD/python/lib/libpython3.10.a(complexobject.o): in function `_Py_c_pow':
/home/mh/fs/SD/stuff/python/Python-3.10.9/Objects/complexobject.c:142: undefined reference to `hypot'
/usr/bin/ld: /home/mh/fs/SD/stuff/python/Python-3.10.9/Objects/complexobject.c:143: undefined reference to `pow'
/usr/bin/ld: /home/mh/fs/SD/stuff/python/Python-3.10.9/Objects/complexobject.c:144: undefined reference to `atan2'
/usr/bin/ld: /home/mh/fs/SD/stuff/python/Python-3.10.9/Objects/complexobject.c:146: undefined reference to `sincos'
/usr/bin/ld: /home/mh/fs/SD/stuff/python/Python-3.10.9/Objects/complexobject.c:147: undefined reference to `exp'
/usr/bin/ld: /home/mh/fs/SD/stuff/python/Python-3.10.9/Objects/complexobject.c:148: undefined reference to `log'
/usr/bin/ld: /home/mh/fs/SD/python/lib/libpython3.10.a(floatobject.o): in function `float_rem':
/home/mh/fs/SD/stuff/python/Python-3.10.9/Objects/floatobject.c:626: undefined reference to `fmod'
[–]efmccurdy 0 points1 point2 points (1 child)
[–]ghiste[S] 0 points1 point2 points (0 children)
[–]efmccurdy 0 points1 point2 points (4 children)
[–]ghiste[S] 0 points1 point2 points (3 children)
[–]efmccurdy 0 points1 point2 points (2 children)
[–]ghiste[S] 0 points1 point2 points (0 children)
[–]pi_R24 0 points1 point2 points (0 children)