soegaard / sci

Racket libraries for scientific computing
18 stars 4 forks source link

ffi-lib could not load libgfortran #8

Closed lojic closed 1 year ago

lojic commented 2 years ago

I have a Raspberry Pi 2 Model B with the latest Raspberry Pi OS. Here is the output of (system-type 'machine)

Welcome to Racket v8.3 [cs].
> (system-type 'machine)
"Linux raspberrypi 5.10.63-v7+ #1488 SMP Thu Nov 18 16:14:44 GMT 2021 armv7l"

Looking at the flomat source, it will not detect my computer properly. Here's the libgfortran I installed:

libgfortran5/stable,now 10.2.1-6+rpi1 armhf [installed]

samdphillips commented 1 year ago

I am on Ubuntu 22.04 LTS and it seems that the oldest libgfortran is the same version that @lojic reported.

soegaard commented 1 year ago

@samdphillips It seems the docs no longer builds on the package [1] server due to:

ffi-lib: could not load foreign library path: libgfortran.so.5 system error: libgfortran.so.5: cannot open shared object file: No such file or directory

[1] https://pkg-build.racket-lang.org/server/built/fail/sci.txt

soegaard commented 1 year ago

I have added version 3 to the list of acceptable versions to try on Ubuntu. Let's see if the package server npw builds the docs.

soegaard commented 1 year ago

It seems it worked.