<html>#2428: Possible issue between ExternalLibraries/FFTW3 thorn and the Cactus/lib/sbin/strip-incdirs.sh script
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Federico Cipolletta</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>open</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td></td></tr>
<tr><td style='text-align:right'>     Type:</td><td>bug</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>minor</td></tr>
<tr><td style='text-align:right'>Component:</td><td>EinsteinToolkit thorn</td></tr>
</table>

<p>Comment (by Roland Haas):</p>
<p>Hmm. In that case /usr/local should be searched for as part of the default set of search locations (which is part of why we remove them from LIB_DIRS). It should also be searched before /usr so should pick that library in case there is an FFTW3 in both /usr and /usr/local.</p>
<p>Can you provide the output of <code>gcc -xc -E -v -</code> please (see <a data-is-external-link="true" href="https://stackoverflow.com/questions/4980819/what-are-the-gcc-default-include-directories" rel="nofollow">https://stackoverflow.com/questions/4980819/what-are-the-gcc-default-include-directories</a>)? On my Debian Bullseye box this returns:</p>
<div class="codehilite"><pre><span></span>$ gcc -xc -E -v -
Using built-in specs.
<span class="nv">COLLECT_GCC</span><span class="o">=</span>gcc
<span class="nv">OFFLOAD_TARGET_NAMES</span><span class="o">=</span>nvptx-none:hsa
<span class="nv">OFFLOAD_TARGET_DEFAULT</span><span class="o">=</span><span class="m">1</span>
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion<span class="o">=</span><span class="s1">&#39;Debian 9.3.0-13&#39;</span> --with-bugurl<span class="o">=</span>file:///usr/share/doc/gcc-9/README.Bugs --enable-languages<span class="o">=</span>c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix<span class="o">=</span>/usr --with-gcc-major-version-only --program-suffix<span class="o">=</span>-9 --program-prefix<span class="o">=</span>x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir<span class="o">=</span>/usr/lib --without-included-gettext --enable-threads<span class="o">=</span>posix --libdir<span class="o">=</span>/usr/lib --enable-nls --enable-bootstrap --enable-clocale<span class="o">=</span>gnu --enable-libstdcxx-debug --enable-libstdcxx-time<span class="o">=</span>yes --with-default-libstdcxx-abi<span class="o">=</span>new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-s
 ystem-zlib<span class="o">=</span>auto --enable-objc-gc<span class="o">=<
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2428/possible-issue-between-externallibraries'>https://bitbucket.org/einsteintoolkit/tickets/issues/2428/possible-issue-between-externallibraries</a></p>
</html>