Re: undefined reference to `sqlcxt' (Pro C compilation problem)
From: Lothar <dickhofl_at_ada.de>
Date: 8 Jul 2003 00:48:35 -0700
Message-ID: <655f8d97.0307072348.28502606_at_posting.google.com>
Date: 8 Jul 2003 00:48:35 -0700
Message-ID: <655f8d97.0307072348.28502606_at_posting.google.com>
Hi Ferdous,
i assume, yourŽe compiling on Unix/Linux. sqlcxt is an external variable defined in libclntsh.so. Just compile with "-L $(ORACLE_HOME)/lib -l clntsh" and it should work.
libclntsh.so itself is created at install time by the shell script $ORACLE_HOME/bin/genclntsh.
Regs, Lothar Received on Tue Jul 08 2003 - 09:48:35 CEST