For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

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

BENETEAU's picture


I am using Linux thanks to the Mandrake 9.0 distribution (Kernel 2.4.19, Mesa 3D 4.03, GNU gcc 3.2, TCL 8.3.3, Java 2) and I have got an i586 Station (Pentium II 266 MHz, 8.4 Go of ROM, 194 Mo of RAM).

I installed OpenCASCADE (using "install.csh" option 1) under "/home/nico/cascade/CAS4.0". I tried to run the Test Harness (using "demo" in /home/nico/cascade/CAS4.0/src/DrawResources/), but I could read this:

"/home/nico/cascade/CAS4.0/Linux/bin/TTOPOLOGY: error while loading shared libraries: /usr/lib/ invalid ELF header"

I checked that the path configuration was okay and it seems to be correct. Here it is :

LD_LIBRARY_PATH : /home/nico/cascade/CAS4.0/Linux/lib:/home/nico/cascade/CAS4.0/Linux/lib:/home/nico/cascade/CAS4.0/Linux/lib:/usr/X11R6/lib
CASROOT : /home/nico/cascade/CAS4.0
DRAWHOME : /home/nico/cascade/CAS4.0/src/DrawResources

Now, I don't know how to solve this problem, and I didn't find any solution in the OpenCASCADE Users FORUM. Thus, it would be very nice if you could help me to solve this problem.

Thank you in advance.


Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.