t2sde
t2sde copied to clipboard
Error relocating /usr/lib/libfl.so.2: yylex: symbol not found
Building the following packages (probably a few other packages as well, I'll edit this description as I find them) fails on a fresh install of t2-23.10-x86-64-minimal-firefox-gcc-musl-nocona.iso
:
- git
- python
Same message shows up:
Error relocating /usr/lib/libfl.so.2: yylex: symbol not found
On 14/10/23 14:11, Siva Mahadevan wrote:
Building the following packages (probably a few other packages as well, I'll edit this description as I find them) fails on a fresh install of
t2-23.10-x86-64-minimal-firefox-gcc-musl-nocona.iso
:
- git
- python
Same message shows up:
Error relocating /usr/lib/libfl.so.2: yylex: symbol not found
There are a few of these if you do a search on the error. They all seem to point back to the one problem that seems to be clearest in this > https://copyprogramming.com/howto/undefined-reference-to-yylex.
you cant build anything on that image, because of that error
before you get to that error however, you will be missing getconf
- musl-utils contains a couple of other missing items from that image as well (getent
& iconv
)
according to that link it can only (simply) be fixed by using a version of flex
before 2.6.x
which isnt on the trunk mirror.
there is however a flex-2.5.33
in the 8.0
branch, which might be the flex-old
package mentioned
but you cant build that either, because yylex: symbol not found
...
seems like the only real way to fix this is to patch libfl
at the time the ISO is built from source, to use flex-2.6.x
it seems surprising that this was not found before now (in any musl
build ?)