@Drno

Почему OPAM не может собрать пакет?

Доброго дня. Необходимо поставить старую версию ПО, в OPAM...
Почему то оно не хочет ставится, хотя разработчик с гитхаба уверяет что долнжно быть всё хорошо.
Я не понимаю чего ему не хватает..
Вот лог...

spoiler
The following actions will be performed:
∗ install liquidsoap 1.3.7

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[liquidsoap.1.3.7] downloaded from cache at https://opam.ocaml.org/cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of liquidsoap failed at "/usr/bin/make".

#=== ERROR while compiling liquidsoap.1.3.7 ===================================#
# context 2.0.4 | linux/x86_32 | ocaml-base-compiler.4.05.0 | https://opam.ocaml.org#af9efb24
# path ~/.opam/4.05.0/.opam-switch/build/liquidsoap.1.3.7
# command /usr/bin/make
# exit-code 2
# env-file ~/.opam/log/liquidsoap-59768-a00279.env
# output-file ~/.opam/log/liquidsoap-59768-a00279.out
### output ###
# [...]
# /var/azuracast/.opam/4.05.0/.opam-switch/build/ssl.0.5.12/_build/default/src/ssl_stubs.c:613: undefined reference to `Bytes_val'
# collect2: error: ld returned 1 exit status
# File "caml_startup", line 1:
# Error: Error during linking
# ../Makefile.rules:109: recipe for target 'liquidsoap' failed
# make[2]: *** [liquidsoap] Error 2
# make[2]: Leaving directory '/var/azuracast/.opam/4.05.0/.opam-switch/build/liquidsoap.1.3.7/src'
# ../Makefile.rules:67: recipe for target 'all-auto-ocaml-prog' failed
# make[1]: *** [all-auto-ocaml-prog] Error 2
# make[1]: Leaving directory '/var/azuracast/.opam/4.05.0/.opam-switch/build/liquidsoap.1.3.7/src'
# Makefile.rules:27: recipe for target 'all-subdirs' failed
# make: *** [all-subdirs] Error 2

<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build liquidsoap 1.3.7
└─
╶─ No changes have been performed
  • Вопрос задан
  • 51 просмотр
Пригласить эксперта
Ответы на вопрос 1
@DmitrySolomennikov
Судя по вот этому
# /var/azuracast/.opam/4.05.0/.opam-switch/build/ssl.0.5.12/_build/default/src/ssl_stubs.c:613
undefined reference to `Bytes_val'

не исключено, что не хватает dev-файлов для openssl.
Решение - поставить соответствующую библиотеку, что-то вроде sudo apt-get install libssl-dev
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы