Linking any c++ source file to deal ii fails complaining on linking with /usr/lib/libsmumps.so

Bug #1729454 reported by Javier Marcelo Mora
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
deal.ii (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I'm trying to compile any of the deal.ii examples. They are included in libdeal.ii-doc . I just copied the "/usr/share/doc/libdeal.ii-doc/examples" directory to my home directory.

The process is (as told in the instructions for compiling any example):

cmake .
make run

With previous versions of Ubuntu, it worked as expected. The compilation process finished and an executable was created.

With 17.10 I get this error:

make[2]: *** No hay ninguna regla para construir el objetivo '/usr/lib/libsmumps.so', necesario para 'step-1'. Alto.
CMakeFiles/Makefile2:163: fallo en las instrucciones para el objetivo 'CMakeFiles/step-1.dir/all'
make[1]: *** [CMakeFiles/step-1.dir/all] Error 2
Makefile:83: fallo en las instrucciones para el objetivo 'all'
make: *** [all] Error 2

So it is complaining about the libsmumps.so location. libsmumps.so is indeed not located in /usr/lib, but on /usr/lib/x86_64-linux-gnu

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: libdeal.ii-8.4.2 8.4.2-2build2
ProcVersionSignature: Ubuntu 4.13.0-16.19-lowlatency 4.13.4
Uname: Linux 4.13.0-16-lowlatency x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.7-0ubuntu3.1
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Nov 1 22:52:52 2017
InstallationDate: Installed on 2016-08-11 (447 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
SourcePackage: deal.ii
UpgradeStatus: Upgraded to artful on 2017-10-20 (12 days ago)

Revision history for this message
Javier Marcelo Mora (javiermarcelomora) wrote :
Revision history for this message
Graham Inggs (ginggs) wrote :

It seems that deal.ii should have been rebuilt after mumps 5.1.1-2 appeared in Artful to pick up the libraries in the multiarch locations.

This would have been fixed by the next upload of deal.ii, which was 8.4.2-2ubuntu1 in Bionic.

Changed in deal.ii (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.