/lib/libgcc_s.so.1: version GCC_4.6.0 required by /usr/local/lib/gcc47/libgfortran.so.3 not found
Anton Shterenlikht
mexas at bris.ac.uk
Wed Apr 16 15:40:04 UTC 2014
>From gerald at pfeifer.com Tue Apr 15 07:27:28 2014
>
>On Wed, 9 Apr 2014, Anton Shterenlikht wrote:
>> I haven't tried gfortran on amd64 for a long time,
>> so I'm probably doing something wrong:
>>
>> On ia64 11-current:
>>
>> $ cat z.f90
>> end
>> $ gfortran47 z.f90
>> $ ./a.out
>> $
>>
>> On amd64 11-current:
>>
>> $ cat z.f90
>> end
>> $ gfortran47 z.f90
>> $ ./a.out
>> /lib/libgcc_s.so.1: version GCC_4.6.0 required by /usr/local/lib/gcc47/libgfortran.so.3 not found
>> $
>> $ gfortran48 z.f90
>> $ ./a.out
>> /lib/libgcc_s.so.1: version GCC_4.6.0 required by /usr/local/lib/gcc47/libgfortran.so.3 not found
>> $ gfortran49 z.f90
>> $ ./a.out
>> /lib/libgcc_s.so.1: version GCC_4.6.0 required by /usr/local/lib/gcc47/libgfortran.so.3 not found
>> $
>>
>> On both systems gcc ports are installed
>> via pkg - the official packages on amd64,
>> and my own packages on ia64.
>
>Can you please check out the new pkg-message I added for lang/gcc49
>and lang/gcc48 a couple of days ago?
Sorry, not sure what you mean here.
I've checked "pkg info -xf gcc".
Do you mean that bootstrap is now ON
by default in 48 and 49?
>
>> Am I missing on some compiler/linker options?
>
>Yes. Setting LD_LIBRARY_PATH or using -Wl,rpath=/usr/local/lib/gcc47/
>should fix this for you.
ok, this works. Just need to add a dash in front
of rpath.
Thanks
Anton
More information about the freebsd-toolchain
mailing list