CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

Compilation error usrbinld cannot find lXext

Register Blogs Community New Posts Updated Threads Search

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

Old   May 16, 2008, 07:36
Default Hi Peter The names of any o
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 248
Rep Power: 18
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 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
jaswi is offline   Reply With Quote

Old   May 16, 2008, 07:48
Default Peter, Even if you have lib
  #3
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,684
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
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.
olesen is offline   Reply With Quote

Reply


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 Off
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 14:15
udf compilation error sdp FLUENT 0 February 5, 2009 02:58
UDF compilation error Hari FLUENT 0 February 22, 2008 13:40
Compilation error Rajneesh FLUENT 0 November 11, 2005 16:52


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