Spivoxity / obc-3

Oxford Oberon-2 compiler
38 stars 7 forks source link

Missing libtinfo in Slackware #26

Closed Spivoxity closed 5 years ago

Spivoxity commented 5 years ago

Manually copying the obc1 binary to Slackware apparently results in a message about "missing libtinfo" on each invocation.

(Reported by Jan Verhoeven.)

Spivoxity commented 5 years ago

This is almost certainly because the OCaml bytecode interpreter refers to all the shared libraries it needs for built-in primitives, and libtinfo is one of them, even with the custom runtime that is baked into obc1.

The solution will be to refine the build process and/or use a cut down project-specific library to remove the dependency.

Spivoxity commented 5 years ago

Jan: Everything else works as usual. It's just the error message.

Spivoxity commented 5 years ago

The fix is easy -- just use an OCaml configured with -no-curses. Better all round!

Spivoxity commented 5 years ago

Resolved in 3.1.0