[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Force link to local lib?
From: |
Benjamin Lindner |
Subject: |
Re: Force link to local lib? |
Date: |
Tue, 25 Jan 2011 14:15:21 +0100 |
> Fortran libraries: -L/data/personal/lib64 -L/data/personal/lib
> -L/data/personal/lib/gcc/x86_64-unknown-linux-gnu/4.5.0
> -L/data/personal/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../lib64
> -L/lib/../lib64 -L/usr/lib/../lib64
> -L/data/personal/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../.. -lgfortran
> -lm
This is a wild guess, and I have no experience with RHEL, being a
MinGW user, but I ran into the same problem of strange paths ending up
here, and worked around this by explicitly specifying
FLIBS="-lgfortran -lm" (i.e. only the libraries, no paths) at
configure stage.
benjamin