CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   wierd libtool dependency in *.la file (https://www.cfd-online.com/Forums/openfoam-installation/84351-wierd-libtool-dependency-la-file.html)

mirko January 26, 2011 17:35

weird libtool dependency in *.la file
 
Hi,

This is on RedHat Enterprise 5 with a Centos OpenFoam 1.7.1.

I was having some problems compiling field patches, and thought that maybe my installation is not quite right. I decided to try and install OF from scratch.

That first required installing gcc, gmp, mpfr, and mpc. The problem is related to building mpfr and mpc:

During the make part of the build, I was getting an error related to /nini/OpenFOAM/THirdParty-1.7.0/platforms/linux64/gmp-5.0.1.lib/libgmp.la.

Looking into the local libmpc.la file, I found an entry related to nini/OpenFOAM/... Deleting this entry allowed make to complete.

In the several *.la files I looked, I found similar entries for 1.7.0 and 1.7.1

I checked my environment variables, and I don't see any traces of OpenFoam there. How else would libtool know about /nini/.../OpenFoam...?

Is it possible that the CentosFOAM installation modified something somewhere (since it is done as root)? What?

In the end, I was able to make and check mpc and mpfr by modifying the *.la files. But still, I would like to know what is causing that problem.

Thanks,

Mirko

mirko January 28, 2011 10:07

Quote:

Originally Posted by mirko (Post 292345)
Hi,

This is on RedHat Enterprise 5 with a Centos OpenFoam 1.7.1.

I was having some problems compiling field patches, and thought that maybe my installation is not quite right. I decided to try and install OF from scratch.

That first required installing gcc, gmp, mpfr, and mpc. The problem is related to building mpfr and mpc:

During the make part of the build, I was getting an error related to /nini/OpenFOAM/THirdParty-1.7.0/platforms/linux64/gmp-5.0.1.lib/libgmp.la.

Looking into the local libmpc.la file, I found an entry related to nini/OpenFOAM/... Deleting this entry allowed make to complete.

In the several *.la files I looked, I found similar entries for 1.7.0 and 1.7.1

I checked my environment variables, and I don't see any traces of OpenFoam there. How else would libtool know about /nini/.../OpenFoam...?

Is it possible that the CentosFOAM installation modified something somewhere (since it is done as root)? What?

In the end, I was able to make and check mpc and mpfr by modifying the *.la files. But still, I would like to know what is causing that problem.

Thanks,

Mirko

Just to report that the problem went away when I moved the OpenFOAM directories from that user's account.

I looked into the CentosFOAM installation script and nothing sinister jumped out.

Mirko


All times are GMT -4. The time now is 18:57.