relocation error: /opt/OpenCASCADE-50/ros/Linux/lib/ symbol errno, version GLIBC_2.0 not defined in file with link time reference

Does anyone know what to do now ?

The point is, that I try to execute a binary from a Linux 8 System using OCC 5 on a Linux Suse 9 System.
Bang !

What now ?

Shall I compile OCC purely static and then re-make the whole project ?

How to do this ?

Kind regards


marc's picture


export LD_ASSUME_KERNEL=2.4.0

and you shall be able to avoid ERRNO-crap messages.
Then it may be, that the system asks for older so-libraries. Just copy them from your legacy system /usr/lib and /lib to the new system. Moving beyond this, you will have to copy a lot of so-files from (assume your current OCC folder ist /opt/occ5) /opt/occ5/ros/lin/lib/ to the new system´s folder /usr/lib.

This works fine !