[ET Trac] [Einstein Toolkit] #1006: ExternalLibraries' configure.sh scripts handle /usr inconistently

Einstein Toolkit trac-noreply at einsteintoolkit.org
Wed Nov 26 08:46:32 CST 2014


#1006: ExternalLibraries' configure.sh scripts handle /usr inconistently
------------------------------------+---------------------------------------
  Reporter:  rhaas                  |       Owner:                   
      Type:  defect                 |      Status:  new              
  Priority:  minor                  |   Milestone:                   
 Component:  EinsteinToolkit thorn  |     Version:                   
Resolution:                         |    Keywords:  ExternalLibraries
------------------------------------+---------------------------------------

Comment (by eschnett):

 Removing the standard paths is necessary since otherwise the wrong library
 may be found. Consider a system where GSL is installed both in /usr/lib
 and in /home/geek. Assume that the one in /usr/lib is outdated and should
 not be used. If /usr/lib makes it onto the search path before /home/geek,
 then the wrong library will be used. The same holds for include
 directories. The default paths are dangerous because they contain so many
 libraries.

 With Homebrew, you should add /usr/local/lib to LIBDIRS, and maybe
 /usr/local/include to SYS_INC_DIRS.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1006#comment:8>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list