apramc
apramc

Reputation: 1386

"libquadmath.la' is not a valid libtool archive" when configuring OpenMPI with gfortran

I am trying to configure my openmpi with fortran, gfortran,

this is how I have configured my mpi.

./configure --prefix=/usr/local/openmpi/2.0.1 --enable-mpi-fortran --enable-mpi-cxx --enable-mpi-thread-multiple

I get this error at making stage.

/usr/local/gnu_gcc/lib/../lib64/libquadmath.la' is not a valid libtool archive

any solution ?

Upvotes: 0

Views: 6795

Answers (1)

apramc
apramc

Reputation: 1386

I followed the instruction in this article1 to solve the problem,

  1. I removed all the *.la files in my gcc lib64 folder,

sudo rm -f *.la

  1. I ran in the configure folder

make distclean

  1. configure and install again

Upvotes: 1

Related Questions