Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to compile under 24 release erlang? #226

Open
heiheshang opened this issue Apr 10, 2023 · 1 comment
Open

How to compile under 24 release erlang? #226

heiheshang opened this issue Apr 10, 2023 · 1 comment

Comments

@heiheshang
Copy link

==> jiffy (compile) /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: невозможно найти -lerl_interface: Нет такого файла или каталога collect2: error: ld returned 1 exit status sh(c++ c_src/decoder.o c_src/encoder.o c_src/jiffy.o c_src/utf8.o c_src/util.o c_src/doubles.o c_src/objects.o c_src/double-conversion/bignum-dtoa.o c_src/double-conversion/bignum.o c_src/double-conversion/cached-powers.o c_src/double-conversion/diy-fp.o c_src/double-conversion/double-conversion.o c_src/double-conversion/fast-dtoa.o c_src/double-conversion/fixed-dtoa.o c_src/double-conversion/strtod.o -lstdc++ -lstdc++ -shared -L/home/oper/.asdf/installs/erlang/24.3.4.10/lib/erl_interface-5.2.2/lib -lerl_interface -lei -o priv/jiffy.so) failed with return code 1 and the following output: /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: невозможно найти -lerl_interface: Нет такого файла или каталога collect2: error: ld returned 1 exit status

@nickva
Copy link
Collaborator

nickva commented Jun 11, 2024

-lerl_interface:Нет такого файла или каталога indicates it can't find the erl_interface.

We recently added a GH actions CI job to test building and compiling on various OSes and Erlang 24 versions. Erlang 24 is included on ubuntu-latest https://github.com/davisp/jiffy/actions. The latest jiffy 1.1.2 seems to compile on 20->27 inclusive at least on ubuntu. Wonder if it's fixed on SUSE Linux 13 as well?

@nickva nickva closed this as completed Jun 11, 2024
@nickva nickva reopened this Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants