Bug#1040902: libfreefem++: Paths in /etc/freefem++.pref do not match installation paths
Arne Nordmark
nordmark at mech.kth.se
Wed Jul 12 09:14:33 BST 2023
Package: libfreefem++
Version: 4.11+dfsg1-3
Severity: normal
Dear Maintainer,
The conffile /etc/freefem++.pref contains the following lines
loadpath += "/usr/lib/ff++/4.9/lib"
includepath += "/usr/lib/ff++/4.9/idp"
which do not match where files are actually installed.
This leads to errors like:
nordmark at deedee:~$ FreeFem++ /usr/share/doc/freefem++/examples/3d/beam-3d.edp
-- FreeFem++ v4.9 ( - git no git)
Load: lg_fem lg_mesh lg_mesh3 eigenvalue
1 : load "medit"
Load error: medit
fail:
dlerror : /usr/lib/ff++/4.9/lib/medit.so: cannot open shared object file: No such file or directory
list prefix: './' '/usr/lib/ff++/4.9/lib/' list suffix: '' , '.so'
current line = 1
Load error : medit
line number :1, medit
error Load error : medit
line number :1, medit
code = 2 mpirank: 0
The lines should probably be
loadpath += "/usr/lib/freefem++"
includepath += "/usr/include/freefem++/idp"
instead.
With the changed conffile below, the example seems to work OK.
Best regards
Arne
-- System Information:
Debian Release: 12.0
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-10-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libfreefem++ depends on:
ii coinor-libipopt1v5 3.11.9-2.3+b1
ii libatlas3-base [liblapack.so.3] 3.10.3-13
ii libblas3 [libblas.so.3] 3.11.0-2
ii libc6 2.36-9
ii libfftw3-double3 3.3.10-1
ii libgcc-s1 12.2.0-14
ii libgfortran5 12.2.0-14
ii libgsl27 2.7.1+dfsg-5
ii liblapack3 [liblapack.so.3] 3.11.0-2
ii libmetis5 5.1.0.dfsg-7
ii libmumps-seq-5.5 5.5.1-1
ii libopenblas0-pthread [liblapack.so.3] 0.3.21+ds-4
ii libopenmpi3 4.1.4-3+b1
ii libptscotch-7.0 7.0.3-2
ii libstdc++6 12.2.0-14
ii libsuperlu5 5.3.0+dfsg1-2+b1
ii libtet1.5 1.5.0-5
ii libumfpack5 1:5.12.0+dfsg-2
libfreefem++ recommends no packages.
libfreefem++ suggests no packages.
-- Configuration Files:
/etc/freefem++.pref changed:
loadpath += "./"
loadpath += "/usr/lib/ff++/4.9/lib"
includepath += "/usr/lib/ff++/4.9/idp"
loadpath += "/usr/lib/freefem++"
includepath += "/usr/include/freefem++/idp"
-- debconf-show failed
More information about the debian-science-maintainers
mailing list