FreeFEm++ cannot find its libraries / plugins

Asked by Michel Kern

It seems that FreeFem++ plugins (and library files) are installed in the wrong location:

with the file "load.edp" containing a single line:
load iovtk
Typing
Freefem++ load.edp
gives
-- FreeFem++ v4.9 ( - git no git)
 Load: lg_fem lg_mesh lg_mesh3 eigenvalue
    1 : load "iovtk"
Load error: iovtk
  fail:
 dlerror : /usr/lib/ff++/4.9/lib/iovtk.so: cannot open shared object file: No such file or directory
list prefix: './' '/usr/lib/ff++/4.9/lib/' list suffix: '' , '.so'

The file iovtk.so exists in two locations:
/usr/lib/freefem++/iovtk.so
/usr/lib/freefem++/mpi/iovtk.so

However, FreeFem++ was looking /usr/lib/ff++/4.9/lib/iovtk.so
and in general FreeFem support files should be in /usr/lib/ff++/4.9

This is on jammy (22.04),
freefem++, libfreefem++ and libfreefem++-dev all from 4.9+dfsg1-2build1

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1
Revision history for this message
Michel Kern (michel-kern) said :
#2

Sorry, I don't see how this answers my question (for me it's actually a bug **in the Ubuntu packages**)

I know how to install FreeFem++ for the web site. Here I installed ubuntu packages from the universe repo, and they don't work as expected.
Is there something I am missing ?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

It's just to make sure you installed as per the instructions. If you suspect a bug in the Ubuntu packages then I suggest you report a bug.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

You could always make symlinks to satisfy the app

Revision history for this message
Michel Kern (michel-kern) said :
#5

Yes, that's a possible workaround., thanks. But I think I'll go back to installing from source, which is waht I usually do fro FreeFem++

AS for reporting a bug, I was going to do that, but then Launchpad said something like "if you're not sure it'a bug, ask a question first" :)
I do think it's a bug in the ubuntu packages.

Can you help with this problem?

Provide an answer of your own, or ask Michel Kern for more information if necessary.

To post a message you must log in.