Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Apr 2014 16:39:33 +0100 (BST)
From:      Anton Shterenlikht <mexas@bris.ac.uk>
To:        gerald@pfeifer.com, mexas@bris.ac.uk
Cc:        toolchain@freebsd.org
Subject:   Re: /lib/libgcc_s.so.1: version GCC_4.6.0 required by /usr/local/lib/gcc47/libgfortran.so.3 not found
Message-ID:  <201404161539.s3GFdXto020765@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <alpine.LSU.2.11.1404150031240.2489@tuna.site>

next in thread | previous in thread | raw e-mail | index | archive | help
>From gerald@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404161539.s3GFdXto020765>