It looks to me that octave package needs libqhull_r.so.8.0,
but e.g. Centos Stream 9
has only /usr/lib64/libqhull_r.so.7.2.0 (qhull-devel-7.2.1-9.el9.x86_64).
So running __run_test_suite__
reults in many FAILures like:
>>>>> processing /app/share/octave/7.2.0/etc/tests/libinterp/dldfcn/convhulln.cc-tst
***** testif HAVE_QHULL
cube = [0 0 0;1 0 0;1 1 0;0 1 0;0 0 1;1 0 1;1 1 1;0 1 1];
[h, v] = convhulln (cube, "Qt");
assert (size (h), [12 3]);
h = sortrows (sort (h, 2), [1:3]);
assert (h, [1 2 4; 1 2 6; 1 4 8; 1 5 6; 1 5 8; 2 3 4; 2 3 7; 2 6 7; 3 4 7; 4 7 8; 5 6 7; 5 7 8]);
assert (v, 1, 10*eps);
[h2, v2] = convhulln (cube); # Test default option = "Qt"
assert (size (h2), size (h));
h2 = sortrows (sort (h2, 2), [1:3]);
assert (h2, h);
assert (v2, v, 10*eps);
!!!!! test failed
/app/lib/octave/7.2.0/oct/x86_64-pc-linux-gnu/convhulln.oct: failed to load
Incompatible version or missing dependency?
libqhull_r.so.8.0: cannot open shared object file: No such file or directory
hub
February 15, 2023, 11:34pm
#2
whatever centos has doesn’t matter because it’s not in the flatpak.
ideally you would report the problem in the repository instead of here, there is more chances the maintainer sees it.
1 Like
Thanks! I did report it on github:
opened 05:04PM - 15 Feb 23 UTC
t looks to me that octave package needs libqhull_r.so.8.0,
but e.g. Centos Stre… am 9
has only /usr/lib64/libqhull_r.so.7.2.0 (qhull-devel-7.2.1-9.el9.x86_64).
So running __run_test_suite__ reults in many FAILures like:
```
>>>>> processing /app/share/octave/7.2.0/etc/tests/libinterp/dldfcn/convhulln.cc-tst
***** testif HAVE_QHULL
cube = [0 0 0;1 0 0;1 1 0;0 1 0;0 0 1;1 0 1;1 1 1;0 1 1];
[h, v] = convhulln (cube, "Qt");
assert (size (h), [12 3]);
h = sortrows (sort (h, 2), [1:3]);
assert (h, [1 2 4; 1 2 6; 1 4 8; 1 5 6; 1 5 8; 2 3 4; 2 3 7; 2 6 7; 3 4 7; 4 7 8; 5 6 7; 5 7 8]);
assert (v, 1, 10*eps);
[h2, v2] = convhulln (cube); # Test default option = "Qt"
assert (size (h2), size (h));
h2 = sortrows (sort (h2, 2), [1:3]);
assert (h2, h);
assert (v2, v, 10*eps);
!!!!! test failed
/app/lib/octave/7.2.0/oct/x86_64-pc-linux-gnu/convhulln.oct: failed to load
Incompatible version or missing dependency?
libqhull_r.so.8.0: cannot open shared object file: No such file or directory
```
P.S. The file is there, but it cannot loaded (?!):
```
$ file /var/lib/flatpak/app/org.octave.Octave/x86_64/stable/c443abd2eff5686b6aa55e027706451faa37d10601eb0502a67e27255d960e1e/files/lib/libqhull.so*
/var/lib/flatpak/app/org.octave.Octave/x86_64/stable/c443abd2eff5686b6aa55e027706451faa37d10601eb0502a67e27255d960e1e/files/lib/libqhull.so: symbolic link to libqhull.so.8.0
/var/lib/flatpak/app/org.octave.Octave/x86_64/stable/c443abd2eff5686b6aa55e027706451faa37d10601eb0502a67e27255d960e1e/files/lib/libqhull.so.8.0: symbolic link to libqhull.so.8.0.2
/var/lib/flatpak/app/org.octave.Octave/x86_64/stable/c443abd2eff5686b6aa55e027706451faa37d10601eb0502a67e27255d960e1e/files/lib/libqhull.so.8.0.2: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=21fcca5e4907795aedf943042f14e0ece72ccdd7, stripped
```
```
$ md5sum /var/lib/flatpak/app/org.octave.Octave/x86_64/stable/c443abd2eff5686b6aa55e027706451faa37d10601eb0502a67e27255d960e1e/files/lib/libqhull.so.8.0.2
af399b3c45d339cc3d6d8a5e404dbb54 /var/lib/flatpak/app/org.octave.Octave/x86_64/stable/c443abd2eff5686b6aa55e027706451faa37d10601eb0502a67e27255d960e1e/files/lib/libqhull.so.8.0.2
```
```
$ flatpak --env="LD_PRELOAD=/var/lib/flatpak/app/org.octave.Octave/x86_64/stable/c443abd2eff5686b6aa55e027706451faa37d10601eb0502a67e27255d960e1e/files/lib/libqhull.so.8.0.2" run org.octave.Octave
ERROR: ld.so: object '/var/lib/flatpak/app/org.octave.Octave/x86_64/stable/c443abd2eff5686b6aa55e027706451faa37d10601eb0502a67e27255d960e1e/files/lib/libqhull.so.8.0.2' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/var/lib/flatpak/app/org.octave.Octave/x86_64/stable/c443abd2eff5686b6aa55e027706451faa37d10601eb0502a67e27255d960e1e/files/lib/libqhull.so.8.0.2' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
```
```
$ ldd /var/lib/flatpak/app/org.octave.Octave/x86_64/stable/c443abd2eff5686b6aa55e027706451faa37d10601eb0502a67e27255d960e1e/files/lib/libqhull.so.8.0.2
linux-vdso.so.1 (0x00007ffc2fbd4000)
libm.so.6 => /lib64/libm.so.6 (0x00007f915eb42000)
libc.so.6 => /lib64/libc.so.6 (0x00007f915e800000)
/lib64/ld-linux-x86-64.so.2 (0x00007f915ecb0000)
```
1 Like
hub
Closed
February 27, 2023, 1:00pm
#5
This topic was automatically closed after 11 days. New replies are no longer allowed.