Date: Tue, 15 Apr 2014 00:32:41 -0700 (PDT) From: Gerald Pfeifer <gerald@pfeifer.com> To: Anton Shterenlikht <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: <alpine.LSU.2.11.1404150031240.2489@tuna.site> In-Reply-To: <201404091319.s39DJ2To028755@mech-cluster241.men.bris.ac.uk> References: <201404091319.s39DJ2To028755@mech-cluster241.men.bris.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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? > 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. Gerald
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.LSU.2.11.1404150031240.2489>