Email or username:

Password:

Forgot your password?
null
Да ебаный ты рот... что тебе надо тварь?
34 comments
a1ba-nyan
@mary а следовать документации типа никак?
a1ba-nyan
@mary скорее у кого-то растут руки из жопы.
null
@a1batross Все на что оно ругается в системе есть. 🤷‍♀️​ Вот догадайся сама что ему опять не то.
Mo Rijndael (archive)

@mary а можно скрин чуть повыше, с выхлопом make?

@a1batross

null
@termonoid

==> majic
mkdir -p priv
cc -I/usr/lib/erlang/usr/include -I/usr/local/include -std=c99 -g -Wall -Werror -DEI_INCOMPLETE -L/usr/lib/erlang/usr/lib -L/usr/local/lib src/libmagic_port.c -lpthread -lei -lm -lmagic -lerl_interface -o priv/libmagic_port
/usr/bin/ld: /usr/lib/erlang/usr/lib/liberl_interface.a(erl_eterm.o): in function `erl_mk_atom':
(.text+0x533): undefined reference to `__erl_errno_place'
/usr/bin/ld: /usr/lib/erlang/usr/lib/liberl_interface.a(erl_eterm.o): in function `erl_mk_pid_helper':
(.text+0x556): undefined reference to `ei_internal_use_r9_pids_ports'
/usr/bin/ld: /usr/lib/erlang/usr/lib/liberl_interface.a(erl_eterm.o): in function `erl_mk_pid':
(.text+0x60b): undefined reference to `__erl_errno_place'
/usr/bin/ld: /usr/lib/erlang/usr/lib/liberl_interface.a(erl_eterm.o): in function `erl_mk_port_helper':
(.text+0x62d): undefined reference to `ei_internal_use_r9_pids_ports'
/usr/bin/ld: /usr/lib/erlang/usr/lib/liberl_interface.a(erl_eterm.o): in function `erl_mk_port':
(.text+0x6cb): undefined reference to `__erl_errno_place'
/usr/bin/ld: /usr/lib/erlang/usr/lib/liberl_interface.a(erl_eterm.o): in function `__erl_mk_reference':
(.text+0x77a): undefined reference to `__erl_errno_place'
/usr/bin/ld: /usr/lib/erlang/usr/lib/liberl_interface.a(erl_eterm.o): in function `erl_mk_var':
(.text+0xd33): undefined reference to `__erl_errno_place'
/usr/bin/ld: /usr/lib/erlang/usr/lib/liberl_interface.a(erl_eterm.o): in function `erl_copy_term.localalias.2':
(.text+0x1138): undefined reference to `__erl_errno_place'
/usr/bin/ld: /usr/lib/erlang/usr/lib/liberl_interface.a(erl_eterm.o): in function `erl_init':
(.text+0x223): undefined reference to `ei_init_resolve'
/usr/bin/ld: /usr/lib/erlang/usr/lib/liberl_interface.a(erl_eterm.o): in function `erl_set_compat_rel':
(.text+0x231): undefined reference to `ei_set_compat_rel'
/usr/bin/ld: /usr/lib/erlang/usr/lib/liberl_interface.a(erl_marshal.o): in function `erl_term_len_helper':
(.text+0x509): undefined reference to `__erl_errno_place'
/usr/bin/ld: /usr/lib/erlang/usr/lib/liberl_interface.a(erl_marshal.o): in function `erl_decode_it':
(.text+0xafb): undefined reference to `ei_decode_double'
/usr/bin/ld: /usr/lib/erlang/usr/lib/liberl_interface.a(erl_marshal.o): in function `cmp_small_float':
(.text+0x127a): undefined reference to `ei_decode_long'
/usr/bin/ld: (.text+0x1291): undefined reference to `ei_decode_double'
/usr/bin/ld: /usr/lib/erlang/usr/lib/liberl_interface.a(erl_marshal.o): in function `cmp_small_big':
(.text+0x1320): undefined reference to `ei_decode_long'
/usr/bin/ld: (.text+0x134d): undefined reference to `ei_alloc_big'
/usr/bin/ld: (.text+0x1365): undefined reference to `ei_small_to_big'
/usr/bin/ld: (.text+0x1376): undefined reference to `ei_alloc_big'
/usr/bin/ld: (.text+0x138d): undefined reference to `ei_decode_big'
/usr/bin/ld: (.text+0x139c): undefined reference to `ei_big_comp'
/usr/bin/ld: (.text+0x13a7): undefined reference to `ei_free_big'
/usr/bin/ld: (.text+0x13af): undefined reference to `ei_free_big'
/usr/bin/ld: (.text+0x13e2): undefined reference to `ei_free_big'
/usr/bin/ld: (.text+0x13ea): undefined reference to `ei_free_big'
/usr/bin/ld: (.text+0x140a): undefined reference to `ei_free_big'
/usr/bin/ld: /usr/lib/erlang/usr/lib/liberl_interface.a(erl_marshal.o):(.text+0x1422): more undefined references to `ei_free_big' follow
/usr/bin/ld: /usr/lib/erlang/usr/lib/liberl_interface.a(erl_marshal.o): in function `cmp_float_big':
(.text+0x145e): undefined reference to `ei_decode_double'
/usr/bin/ld: (.text+0x148e): undefined reference to `ei_alloc_big'
/usr/bin/ld: (.text+0x14a5): undefined reference to `ei_decode_big'
/usr/bin/ld: (.text+0x14b6): undefined reference to `ei_big_to_double'
/usr/bin/ld: (.text+0x14c2): undefined reference to `ei_free_big'
/usr/bin/ld: (.text+0x1536): undefined reference to `ei_free_big'
/usr/bin/ld: /usr/lib/erlang/usr/lib/liberl_interface.a(erl_marshal.o): in function `cmp_exe2':
(.text+0x25eb): undefined reference to `ei_decode_double'
/usr/bin/ld: (.text+0x2614): undefined reference to `ei_decode_double'
/usr/bin/ld: (.text+0x2748): undefined reference to `ei_decode_pid'
/usr/bin/ld: (.text+0x2788): undefined reference to `ei_decode_port'
/usr/bin/ld: (.text+0x27a4): undefined reference to `ei_decode_port'
/usr/bin/ld: (.text+0x2bd4): undefined reference to `ei_decode_pid'
/usr/bin/ld: /usr/lib/erlang/usr/lib/liberl_interface.a(erl_marshal.o): in function `compare_top_ext':
(.text+0x2f96): undefined reference to `ei_decode_double'
/usr/bin/ld: (.text+0x2fad): undefined reference to `ei_decode_double'
/usr/bin/ld: (.text+0x3039): undefined reference to `ei_decode_long'
/usr/bin/ld: (.text+0x3054): undefined reference to `ei_decode_long'
/usr/bin/ld: (.text+0x30db): undefined reference to `ei_alloc_big'
/usr/bin/ld: (.text+0x30f0): undefined reference to `ei_alloc_big'
/usr/bin/ld: (.text+0x310a): undefined reference to `ei_decode_big'
/usr/bin/ld: (.text+0x3119): undefined reference to `ei_decode_big'
/usr/bin/ld: (.text+0x3124): undefined reference to `ei_big_comp'
/usr/bin/ld: (.text+0x3130): undefined reference to `ei_free_big'
/usr/bin/ld: (.text+0x3138): undefined reference to `ei_free_big'
/usr/bin/ld: (.text+0x32d9): undefined reference to `ei_free_big'
/usr/bin/ld: /usr/lib/erlang/usr/lib/liberl_interface.a(erl_fix_alloc.o): in function `erl_init_eterm_alloc':
(.text+0x32): undefined reference to `ei_mutex_create'
/usr/bin/ld: (.text+0x56): undefined reference to `__erl_errno_place'
/usr/bin/ld: /usr/lib/erlang/usr/lib/liberl_interface.a(erl_fix_alloc.o): in function `erl_eterm_alloc':
(.text+0x84): undefined reference to `ei_mutex_lock'
/usr/bin/ld: (.text+0xbc): undefined reference to `ei_mutex_unlock'
/usr/bin/ld: (.text+0xe3): undefined reference to `__erl_errno_place'
/usr/bin/ld: (.text+0xf2): undefined reference to `ei_mutex_unlock'
/usr/bin/ld: /usr/lib/erlang/usr/lib/liberl_interface.a(erl_fix_alloc.o): in function `erl_eterm_free':
(.text+0x122): undefined reference to `ei_mutex_lock'
/usr/bin/ld: /usr/lib/erlang/usr/lib/liberl_interface.a(erl_fix_alloc.o): in function `erl_eterm_release':
(.text+0x16f): undefined reference to `ei_mutex_lock'
/usr/bin/ld: /usr/lib/erlang/usr/lib/liberl_interface.a(erl_fix_alloc.o): in function `erl_eterm_free':
(.text+0x14e): undefined reference to `ei_mutex_unlock'
/usr/bin/ld: /usr/lib/erlang/usr/lib/liberl_interface.a(erl_fix_alloc.o): in function `erl_eterm_release':
(.text+0x1a7): undefined reference to `ei_mutex_unlock'
collect2: error: ld returned 1 exit status
make: *** [Makefile:17: priv/libmagic_port] Error 1










@a1batross
@termonoid

==> majic
mkdir -p priv
cc -I/usr/lib/erlang/usr/include -I/usr/local/include -std=c99 -g -Wall -Werror -DEI_INCOMPLETE -L/usr/lib/erlang/usr/lib -L/usr/local/lib src/libmagic_port.c -lpthread -lei -lm -lmagic -lerl_interface -o priv/libmagic_port
a1ba-nyan
@mary @termonoid erlang точно последней версии, а не унылая хуита из дебиан стейбл?
a1ba-nyan
@mary @termonoid ну и который там?
Если 23 и ты ставишь stable версию, то всё должно работать.
Если 24 и ты ставишь stable, то делай то о чём я говорил вчера вечером.
Если 24 и ты ставишь develop, это уже повод написать багрепорт.
null
@a1batross @termonoid Сча паходу тянуть буду эрланг откуданить.
a1ba-nyan
@mary @termonoid он раньше был в инструкции, но релиз 24-ого проебали и у всех сломалась плерома.

Вместо того чтобы зарелизить апдейт, его молча убрали из инструкции.
null
@a1batross @termonoid Написали бы что мануал под бубунту а не под дебиан. Нафиг в заблуждение вводить.
a1ba-nyan
@mary @termonoid просто хотите жрать говно мамонта, можно и плерому 1.0 ставить.
a1ba-nyan
@mary @termonoid его выпустили в этом году.

Ваш дебиан стейбл вышел хуйзнаеткогда и по состоянию он скорее отражает 18 век.
null
@a1batross @termonoid качаю с оф сайта 24ю буду из исходников собирать че делать.
a1ba-nyan
@mary @termonoid ты совсем не читаешь что я пишу да
a1ba-nyan
@mary @termonoid или что тебе пишет тот же мануал.
null
@a1batross @termonoid

Ну я должна все перепроверять за автором мануала. 🤷‍♀️​
a1ba-nyan

@mary @termonoid зачем? Чтобы напарываться на проблемы, когда оно тебе прямым текстом пишет:

This guide will assume you are on Debian 11 (“bullseye”) or later. 

Erlang OTP 22.2+

you might need to use backports or asdf on old systems

null
@a1batross @termonoid


Install Elixir and Erlang
Install Elixir and Erlang (you might need to use backports or asdf on old systems):
a1ba-nyan
@mary @termonoid ну так. Вольно перевожу на русский:

Вам ВОЗМОЖНО придется использовать или бэкпорты, или asdf.

Возможно. Или. Два ключевых слова. Как их можно упустить? Ровно как и то, что на Debian stable как обычно всем насрать.

В бэкпортах дебиана как обычно нихуя нет, так что со стейблом вы или ставите asdf, или репу erlang solutions я уже порекомендовал.
@mary @termonoid ну так. Вольно перевожу на русский:

Вам ВОЗМОЖНО придется использовать или бэкпорты, или asdf.

null
@a1batross @termonoid

Я не свосем поняла. На последних версия эрланга не пашет стейбл плерома или что?
a1ba-nyan
@mary @termonoid да. Я же это вчера объяснял.
null
@a1batross @termonoid Кароч надо спать больше, а то в шары долблюсь уже.
a1ba-nyan
@mary @termonoid это единственная здравая мысль
null
@a1batross @termonoid

Версии всех пакетов, какие пакеты вообще забыли указать в требуемых...
a1ba-nyan
@mary во-первых ты скринотишь последнюю строчку, которая сигнализирует об ошибке, но не дает полезной информации. Ты точно линуксоид?

Во-вторых, я конечно верю что ты просто копипастишь строчки, но я не вижу никаких подтверждений этому.
Go Up