I try to compil a dynamic libray(.so.x.x) using libsqlplus.la from mysql++-1.7.9.

The compilation using libtool seems to be OK, but as soon as i run a program that use this dynamic libray, i have the following error:
Invalid ELF header

Is anyone ever included this libsqlplus.la in a dynamic library???

Many thnaks in advance,