Skip to content

Cannot Install Ubuntu #34

Description

@cyniphile

Got these errors. Happy to add more info if necessary.

$ opam user-setup install
opam: unknown command `user-setup'.
Usage: opam COMMAND ...
Try `opam --help' for more information.

also


$ opam install user-setup                                                                                                                             [10/393]
The following actions will be performed:
  ∗  install user-setup 0.5

=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[user-setup] Archive in cache

=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[ERROR] The compilation of user-setup failed at "make".

#=== ERROR while installing user-setup.0.5 ====================================#
# opam-version 1.2.2
# os           linux
# command      make
# path         /home/cyniphile/.opam/4.02.3/build/user-setup.0.5
# compiler     4.02.3
# exit-code    2
# env-file     /home/cyniphile/.opam/4.02.3/build/user-setup.0.5/user-setup-4013-1872ec.env
# stdout-file  /home/cyniphile/.opam/4.02.3/build/user-setup.0.5/user-setup-4013-1872ec.out
# stderr-file  /home/cyniphile/.opam/4.02.3/build/user-setup.0.5/user-setup-4013-1872ec.err
### stdout ###
# [...]
# /usr/bin/ld: /home/cyniphile/.opam/4.02.3/lib/ocaml/libasmrun.a(finalise.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a sh
ared object; recompile with -fPIC
# /usr/bin/ld: /home/cyniphile/.opam/4.02.3/lib/ocaml/libasmrun.a(custom.o): relocation R_X86_64_32S against `.rodata.str1.1' can not be used when making a sha
red object; recompile with -fPIC
# /usr/bin/ld: /home/cyniphile/.opam/4.02.3/lib/ocaml/libasmrun.a(unix.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared
 object; recompile with -fPIC
# /usr/bin/ld: /home/cyniphile/.opam/4.02.3/lib/ocaml/libasmrun.a(backtrace.o): relocation R_X86_64_32 against symbol `caml_backtrace_last_exn' can not be used
 when making a shared object; recompile with -fPIC
# /usr/bin/ld: final link failed: Nonrepresentable section on output
# collect2: error: ld returned 1 exit status
# File "caml_startup", line 1:
# Error: Error during linking
# Command exited with code 2.
# Makefile:19: recipe for target '_build/ousMain.native' failed
### stderr ###
# make: *** [_build/ousMain.native] Error 10



=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The following actions failed
  ∗  install user-setup 0.5
No changes have been performed


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions