Gcc versions

Here is more info, from Oracle occi web site:

These OCCI libraries are also compatible with gcc releases upto version 4.0.x

So I don’t think your problem comes from there, but I don’t have much experience with Oracle and linux…

Cheers,
Bertrand.