multithreaded program using Informix CLI, csdk 2.20 on HP-UX 11.00
Posted in 1999
Has anybody successfully compiled and ran a multithreaded program using the Informix CLI interface (csdk 2.20) on HP-UX 11.00. Please note that I am using the CLI interface not ESQL/C. My link line looks like: cc -DTHREADING -D_POSIX_THREADS -z -Wl,+s -Aa +ESlit +DAportable -o ... ... -Wl,+s -L/usr/local/informix/lib/cli -lthcli -lm it links fine, but at run-time, it gives me the following error: /usr/lib/dld.sl: Unresolved symbol: cma_write (code) from /usr/local/informix/lib/cli/libthcli.sl /usr/lib/dld.sl: Unresolved symbol: cma_read (code) from /usr/local/informix/lib/cli/libthcli.sl /usr/lib/dld.sl: Unresolved module for symbol: SQLAllocEnv (code) from /home/port/lib/thread/libdbstrinf.sl Note that -lthcli works fine on AIX, Digital Unix, Solaris, etc. What am I missing? Does anybody have any idea? Erol