Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
auto3dem:installation:linux_libraries [2015/05/22 18:12]
gcardone
auto3dem:installation:linux_libraries [2015/05/22 18:55] (current)
gcardone
Line 1: Line 1:
 ====== Library dependencies - Linux ====== ====== Library dependencies - Linux ======
  
-The installation requires system libraries that are not necessarily installed by default, but they are available through the package manager. Most of the additional libraries are required to run the computational programs in parallel on multiple processors or clusters, and to run thegraphical ​programs (mainly RobEM).+The installation requires system libraries that are not necessarily installed by default, but they are available through the package manager. Most of the additional libraries are required to run the computational programs in parallel on multiple processors or clusters, and to run the graphical ​programs (mainly RobEM).
 Example of libraries needed to be installed on some Linux distributions:​ Example of libraries needed to be installed on some Linux distributions:​
  
Line 32: Line 32:
  
   *general libraries<​code>​   *general libraries<​code>​
-gfrotran+gfortran
 </​code>​ </​code>​
   *libraries needed for running the programs in parallel using MPI<​code>​   *libraries needed for running the programs in parallel using MPI<​code>​
Line 39: Line 39:
 </​code>​ </​code>​
   *libraries needed for running graphical programs<​code>​   *libraries needed for running graphical programs<​code>​
-libX11 +libmotif-dev 
-libX11-devel +libxt-dev
-openmotif +
-openmotif-devel +
-libSM +
-libSM-devel +
-libICE +
-libICE-devel +
-libXext +
-libXext-devel +
-libXmu +
-libXmu-devel +
-libXp +
-libXp-devel +
-libXt +
-libXt-devel+
 </​code>​ </​code>​
 +
 +<WRAP center round important 75%>
 +During the installation procedure you can get the following error messages
 +<​code>​
 +/​usr/​bin/​ld:​ cannot find -lXp
 +/​usr/​bin/​ld:​ cannot find -lXext
 +/​usr/​bin/​ld:​ cannot find -lXmu
 +</​code>​
 +even if the libraries have been installed. This is because sometimes the generic links to these libraries are missing. In this case you need to go to the directory where the libraries are (/​usr/​lib/​x86_64-linux-gnu in the latest Ubuntu 64-bit releases) and create the symbolic links (you need administration permissions). For example
 +<​code>​
 +ln -s libXmu.so.6.2.0 libXmu.so
 +ln -s libXp.so.6.2.0 libXp.so
 +ln -s libXext.so.6.4.0 libXext.so
 +</​code>​
 +with the names reflecting the current installed version.
 +</​WRAP>​
 +