Hi Folks, <br><br>Is there a solution to find a library having a revision number ? <br><br>For example, on Ubuntu, after I installed &#39;libgfortran3&#39;, there is the library /usr/lib/libgfortran.so.3<br><br>then the following command failed:  FIND_LIBRARY(GFortran_LIBRARY gfortran) <br>

<br>If I create the symlink   /usr/lib/libgfortran.so -&gt;  /usr/lib/libgfortran.so.3  , it works.<br><br>The issue has already been discussed here:  <a href="http://www.cmake.org/pipermail/cmake/2011-January/042392.html">http://www.cmake.org/pipermail/cmake/2011-January/042392.html</a><br>

<br>Out of curiosity, Is there any known workaround ... ?<br><br>Issuing the command: apt-file search &quot;gfortran.so&quot;   it reveals the following:<br><br>[...]<br>gfortran-4.4: /usr/lib/gcc/x86_64-linux-gnu/4.4/libgfortran.so<br>

[...]<br>libgfortran3: /usr/lib/libgfortran.so.3<br>libgfortran3: /usr/lib/libgfortran.so.3.0.0<br>[...]<br><br>Within cmake, is there a possibility to retrieve the lib directories associated with the current compiler ? <br>

<br>I could then add these one to the PATHS arguments of the find library command ... <br><br>Thanks<br>Jc<br><br clear="all"><br>-- <br>+1 919 869 8849<br><br>