OpenSeesPy icon indicating copy to clipboard operation
OpenSeesPy copied to clipboard

libquadmath - missing dependency?

Open ccaprani opened this issue 4 months ago • 2 comments

I have a high level wrapper on openseespy for teaching grid analysis: https://github.com/ccaprani/ospgrid. Something has changed and now the github pages docs won't build. Github pages is built by a github action that installs everything on a remote ubuntu runner. It's working off openseespy-3.5.1.12 and giving the following:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/openseespylinux/__init__.py", line 12, in <module>
    from openseespylinux.opensees import *
ImportError: libquadmath.so.0: cannot open shared object file: No such file or directory

so I'm guessing that there is a missing dependency in the openseespy build system since v3.4 or so?

Perhaps the minimum supported version of python has increased? I can't find it listed anywhere though.

ccaprani avatar Mar 06 '24 13:03 ccaprani

You need to install that library on ubuntu.

zhuminjie avatar Mar 06 '24 16:03 zhuminjie

Hi @zhuminjie ; sorry I wasn't clear. The way I understand it is that a remote runner spins up and installs everything fresh, based on the dependencies that the library stipulates. Thus, if openseespylinux-3.5.1.12 is failing to run on the runner, it is because the dependency is not listed, and so it has not been installed alongside the rest of library. This problem didn't happen with 3.3 or 3.4, so it seems either a listed dependency was removed, or a new one added, without it getting listed as a requirement (e.g. requirements.txt.

Hope this makes sense - by the way, tested with python 3.10 as well - same issue; so it is not a python min. supported version problem.

ccaprani avatar Mar 07 '24 06:03 ccaprani