Skip to content

problem running example "intro_to_forpy.F90" #43

Open
@Jonas231

Description

@Jonas231

Hello,
I am a Fortran beginner and would like to use forpy for some plotting using matplotlib and later pyvista.

I tried your first and easiest example:

gfortran -c forpy_mod.F90
gfortran intro_to_forpy.F90 forpy_mod.o python3-config --ldflags --embed

And a file a.out was created.
When I call ./a.out I get this error message:

./a.out: error while loading shared libraries: libpython3.9.so.1.0: cannot open shared object file: No such file or directory

Do you have an idea what to do next?
Best regards,
Jonas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions