The problem causing ElmerSolver not to find library objects under /usr/lib/elmersolver is now fixed and thus this workaround is now longer needed.kataja wrote:For some reason, the shared objects are not found in Ubuntu 16.04 using RPATH. Workaround for this should be (assuming bash):
depending where the shared objects are.
Code: Select all
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/elmersolver or $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/elmersolver $ ElmerGUI
Discussion about building and installing Elmer
Was those three commands all what you did, no preparation work? As for me this method does not work. I have tried it now in two different Ubuntu 16.04 LTS computers.
Last command sudo apt-get install elmerfem-csc results in:
Reading package lists... Done
Building dependency tree
Reading state information... Done
elmerfem-csc is already the newest version (8.2-201611301817~11badd5~ubuntu16.04.1).
0 upgraded, 0 newly installed, 0 to remove and 142 not upgraded.
But I don't see any Elmer around... maybe an Elmer course for installing it on Ubuntu would be good. Mind you that I have been able to install it in Windows but would very much like to have it in Ubuntu.