[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: installing gcc various versions



Usually the problem is not the compiler, but the link line. Check if
the paths are ok, and if the libraries are really there. Also, check
if there are static (.a) and shared (.so) libraries on the path.


LIBS= -L/opt/acml4.2.0/gfortran64_mp_int64/lib -lacml_mv -lgfortran -lpthread

Also, the LIB and the LD_LIBRARY_PATH are a little different:

/opt/acml4.2.0/gfortran64_mp_int64/lib
/opt/acml4.2.0/gfortran64_mp/lib

Is these right?

Cheers,

Ivan


2009/4/26 Francesco Pietra <chiendarret@gmail.com>:
> With amd64 lenny I have gcc 4.3.2
>
> Because of problems in linking libraries (ACML 4.1.0), is it safe to
> install also previous versions of gcc?
>
> The link is
>
> LIBS= L/opt/acml4.2.0/gfortran64_mp_int64/lib -lacml_mv -lgfortran -lpthread
>
> while
>
> francesco@tya64:~$ echo $LD_LIBRARY_PATH
> /opt/intel/mkl/10.0.1.014/lib/em64t:/opt/intel/cce/10.1.015/lib:/opt/intel/fce/10.1.015/lib:/usr/local/lib:/opt/acml4.2.0/gfortran64_mp/lib
> francesco@tya64:~$
>
> and the compilation complains "-lacml_mv not found"
>
> The same compilation had no problems one year ago with amd64 etch;
> this is why i am thinking to the version of gcc.
>
> thanks for suggestions
> francesco pietra
>
>
> --
> To UNSUBSCRIBE, email to debian-amd64-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>


Reply to: