Hi,

If I run configure with "--program-suffix=6", I get gcc6, gfortran6, etc.
When ldd looks for libgcc.so.1 on FreeBSD, she finds the wrong one.

% cat foo.f90
program foo
   print *, 'Hello'
end program
% gfortran6 -o z foo.f90 && ./z
/lib/libgcc_s.so.1: version GCC_4.6.0 required by \
/usr/local/lib/gcc6/libgfortran.so.3 not found

% ldconfig -r | grep libgcc
        6:-lgcc_s.1 => /lib/libgcc_s.so.1
        735:-lgcc_s.1 => /usr/local/lib/gcc6/libgcc_s.so.1

Is it possible to add a suffix to libgcc.so, e.g., libgcc6.so.1? 

-- 
Steve

Reply via email to