Open
Description
Currently, Erlang (specifically ODBC) is failing to build for me on arch linux with errors about undefined references to ei_*
:
CC ../priv/bin/x86_64-pc-linux-gnu/odbcserver
/usr/bin/ld: ../priv/obj/x86_64-pc-linux-gnu/odbcserver.o: in function `encode_column_dyn':
/home/sk/.asdf/plugins/erlang/kerl-home/builds/asdf_26.1.2/otp_src_26.1.2/lib/odbc/c_src/odbcserver.c:1511:(.text+0x787): undefined reference to `ei_x_encode_tuple_header'
/usr/bin/ld: /home/sk/.asdf/plugins/erlang/kerl-home/builds/asdf_26.1.2/otp_src_26.1.2/lib/odbc/c_src/odbcserver.c:1512:(.text+0x794): undefined reference to `ei_x_encode_tuple_header'
/usr/bin/ld: /home/sk/.asdf/plugins/erlang/kerl-home/builds/asdf_26.1.2/otp_src_26.1.2/lib/odbc/c_src/odbcserver.c:1513:(.text+0x7a1): undefined reference to `ei_x_encode_ulong'
/usr/bin/ld: /home/sk/.asdf/plugins/erlang/kerl-home/builds/asdf_26.1.2/otp_src_26.1.2/lib/odbc/c_src/odbcserver.c:1514:(.text+0x7ad): undefined reference to `ei_x_encode_ulong'
... ~200 lines of this in total, see full log attached ...
collect2: error: ld returned 1 exit status
make[4]: *** [x86_64-pc-linux-gnu/Makefile:112: ../priv/bin/x86_64-pc-linux-gnu/odbcserver] Error 1
make[4]: Leaving directory '/home/sk/.asdf/plugins/erlang/kerl-home/builds/asdf_26.1.2/otp_src_26.1.2/lib/odbc/c_src'
make[3]: *** [/home/sk/.asdf/plugins/erlang/kerl-home/builds/asdf_26.1.2/otp_src_26.1.2/make/run_make.mk:35: opt] Error 2
make[3]: Leaving directory '/home/sk/.asdf/plugins/erlang/kerl-home/builds/asdf_26.1.2/otp_src_26.1.2/lib/odbc/c_src'
make[2]: *** [/home/sk/.asdf/plugins/erlang/kerl-home/builds/asdf_26.1.2/otp_src_26.1.2/make/otp_subdir.mk:29: opt] Error 2
make[2]: Leaving directory '/home/sk/.asdf/plugins/erlang/kerl-home/builds/asdf_26.1.2/otp_src_26.1.2/lib/odbc'
make[1]: *** [/home/sk/.asdf/plugins/erlang/kerl-home/builds/asdf_26.1.2/otp_src_26.1.2/make/otp_subdir.mk:29: opt] Error 2
make[1]: Leaving directory '/home/sk/.asdf/plugins/erlang/kerl-home/builds/asdf_26.1.2/otp_src_26.1.2/lib'
make: *** [Makefile:518: libs] Error 2
asdf info
:
a5% asdf info
OS:
Linux a5 6.5.7-zen2-1.1-zen #1 ZEN SMP PREEMPT_DYNAMIC Sun, 15 Oct 2023 23:30:34 +0000 x86_64 GNU/Linux
SHELL:
zsh 5.9 (x86_64-pc-linux-gnu)
BASH VERSION:
5.1.16(1)-release
ASDF VERSION:
v0.13.1-0586b37
ASDF INTERNAL VARIABLES:
ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions
ASDF_DATA_DIR=/home/sk/.asdf
ASDF_DIR=/home/sk/.local/share/zinit/plugins/asdf-vm---asdf
ASDF_CONFIG_FILE=/home/sk/.asdfrc
ASDF INSTALLED PLUGINS:
crystal https://github.com/asdf-community/asdf-crystal.git master 6b5c52a
direnv https://github.com/asdf-community/asdf-direnv.git master 2b649c8
elixir https://github.com/asdf-vm/asdf-elixir.git master a4c42e1
erlang https://github.com/asdf-vm/asdf-erlang.git master 6744df7
gleam https://github.com/vic/asdf-gleam.git master b45a651
lua https://github.com/Stratus3D/asdf-lua.git master 36fae6e
nim https://github.com/asdf-community/asdf-nim.git main 397c14a
nodejs https://github.com/asdf-vm/asdf-nodejs.git master 9c4e0f2
yarn https://github.com/twuni/asdf-yarn.git main 376c540
zig https://github.com/cheetah/asdf-zig.git master d88f6db
System library versions:
a5% pacman -Q glu mesa wxwidgets-gtk3 libpng libssh unixodbc libxslt fop
glu 9.0.3-1.1
mesa 1:23.2.1-2.1
wxwidgets-gtk3 3.2.3-1.1
libpng 1.6.40-2.1
libssh 0.10.5-1.1
unixodbc 2.3.12-1.1
libxslt 1.1.38-1.1
fop 2.9-1
The ones which have .1
in the last segment are optimized rebuilds from ALHP, but building without ALHP gives the same error.
Full build log: otp_build_26.1.2.log
Metadata
Metadata
Assignees
Labels
No labels