CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Compilation error usrbinld cannot find lXext (https://www.cfd-online.com/Forums/openfoam-installation/57380-compilation-error-usrbinld-cannot-find-lxext.html)

andpet May 16, 2008 05:52

Hi, I'm trying to compile Ope
 
Hi,
I'm trying to compile OpenFoam with Ubuntu 8.04
and among other I get an error message :

`/home/peter/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/liberrorEstimation.so' is up to date.
+ wmake libso Gstream
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
make: *** [/home/peter/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libGstream.so] Error 1

Can anybody tell me what library I'm missing
and how to get/install one ?

Thanks Peter

jaswi May 16, 2008 08:36

Hi Peter The names of any o
 
Hi Peter

The names of any of the missing libraries is normally given in the error message. Just remove the "l" which stands for library I guess and rest of that is what you are looking for. As in your case the error message says:

cannot find -lXext

implies that you do not have Xext library and about.com says the following about it:
http://linux.about.com/cs/linux101/g/xext.htm

Well the next step would be to install that missing lib und voila monsieur:-)

Hope that helps
Regards
Jaswi

olesen May 16, 2008 08:48

Peter, Even if you have lib
 
Peter,

Even if you have libXext installed, it could still be that it doesn't get linked properly. For example, if you are compiling a 32-bit OpenFOAM on a 64-bit machine with 64-bit libs installed.

AFAIK the libGstream is no longer actually used by any of the current OpenFOAM applications. Skip the compilation of the library entirely and it'll probably be okay anyhow.


All times are GMT -4. The time now is 22:01.