> Have a esql program similar to demo1.ec that must run with the thread
> libraries on HP-UX 11.11.
[quoted text clipped - 7 lines]
>
> 2. cc program.c -o program \
You need to compile the ESQL/C code to object - and then do the linking.
I'm 99% sure there are options to the C compiler that ensure thread
safety that you're not using in this compile and link line.
Or, use 'esql -c -thread program.ec' and then replace 'program.c' with
program.o.
And, best of all, use esql to do the linking -- since it works.
> -I$INFORMIXDIR/incl/esql \
> -Wl,-v,-s,+s,-a,shared_archive,-L$INFORMIXDIR/lib
[quoted text clipped - 6 lines]
> A 'chatr program' on the version that works and version does not work
> is similar.
Why do you think it is better to link without the esql script? I'd go
to great lengths to use it.

Signature
Jonathan Leffler #include <disclaimer.h>
Email: jleffler@earthlink.net, jleffler@us.ibm.com
Guardian of DBD::Informix v2005.02 -- http://dbi.perl.org/