CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Installation

Compilation error usrbinld cannot find lXext

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   May 16, 2008, 04:52
Default Hi, I'm trying to compile Ope
New Member
peter anderson
Join Date: Mar 2009
Posts: 2
Rep Power: 0
andpet is on a distinguished road
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/' 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/] Error 1

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

Thanks Peter
andpet is offline   Reply With Quote

Old   May 16, 2008, 07:36
Default Hi Peter The names of any o
Senior Member
Join Date: Mar 2009
Posts: 248
Rep Power: 11
jaswi is on a distinguished road
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 says the following about it:

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

Hope that helps
jaswi is offline   Reply With Quote

Old   May 16, 2008, 07:48
Default Peter, Even if you have lib
Senior Member
Mark Olesen
Join Date: Mar 2009
Posts: 802
Rep Power: 21
olesen will become famous soon enough

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.
olesen is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF compilation error Szabolcs Varga Fluent UDF and Scheme Programming 4 September 14, 2015 05:27
usrbinld cannot find doug OpenFOAM Installation 19 November 4, 2010 15:15
udf compilation error sdp FLUENT 0 February 5, 2009 03:58
UDF compilation error Hari FLUENT 0 February 22, 2008 14:40
Compilation error Rajneesh FLUENT 0 November 11, 2005 17:52

All times are GMT -4. The time now is 21:11.