Re: Recompile with -fPIE
- Posted by ghaberek (admin) Jun 08, 2022
- 3428 views
Pirx said...
No matter how simple Euphoria code is. I always get this error message.
This is caused by later versions of libm having removed those functions (__powl_finite, etc.) in recent distros. This was also discussed here (07 Apr 2021) and here (17 Oct 2020).
Unfortunately there's no immediate fix until we can get a new release out, which I'm still gradually chipping away at. In the mean time, the best solutions I can offer are:
- build on an older distro like Ubuntu 18.04 (the executable should be forward-compatible)
- build your own copy of the library from source: https://openeuphoria.org/forum/m/136073.wc
I just re-tested the "build your own library" option again on an Ubuntu 20.04 machine in WSL and seems to work fine.
-Greg