Allbase and shared libraries

From: Chris Breemer (chris_breemer_at_nl.compuware.com)
Date: 12/17/03


Date: 17 Dec 2003 03:41:46 -0800

I'm trying to build a shared library containing Allbase
ESQLC code. Using this command:

    aCC +Z -Wl,+s,+k -b -o mylib.sl myobj.o -lsql

and the result is:

/usr/ccs/bin/ld: DP relative code in file /usr/lib/libsql.a(jrerror.o)
- shared library must be position independent. Use +z or +Z to
recompile.

This seems to spell trouble - I can't recompile the Allbase code, and
it does not seem like there's a shared library variant of libsql.a
available. What can I do ?

TIA
      Chris