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

Invalid ELF header Solution

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 5, 2007, 10:00
Default Hi I came across the followin
  #1
Member
 
rafal zietara
Join Date: Mar 2009
Location: Manchester, UK
Posts: 60
Rep Power: 17
rafal is on a distinguished road
Hi
I came across the following message when I ve installed OpenFOAM on gentoo.

icoFoam: error while loading shared libraries: /usr/lib/libz.so: invalid ELF header

the problem is with the place where the libraries are in gentoo. In short gentoo puts:

shared lib in /lib
static archive in /usr/lib
libtool script in /usr/lib
linker script in /usr/lib that points to /lib

FIX for it is simple:

cd /usr/lib
ln -s /lib/libz.so libz.so

after this everything runs smoothly
rafal 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
Header files not found kalldrexx OpenFOAM Installation 5 September 13, 2022 07:57
header file for strings in udf sangeeta FLUENT 4 July 6, 2007 00:52
Header files shuo OpenFOAM Running, Solving & CFD 1 September 10, 2006 03:38
how to add header file shanu FLUENT 1 February 14, 2006 09:00
uhf.h header file giridhar_tech FLUENT 0 February 7, 2006 07:51


All times are GMT -4. The time now is 03:16.