Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: sqlbuft sqlcxt sqlorat ... unresolved problem on AIX
gsai_swaminathan_at_rediffmail.com (gsai) wrote in message news:<48dcbf40.0301230302.6a020ea2_at_posting.google.com>...
> Hi all,
> I have seen a handful of similar postings. Heres the error message I
> get...
> 1586-206 (S) Unresolved reference to symbol "sqlbuft".
> 1586-206 (S) Unresolved reference to symbol "sqlcxt".
> 1586-206 (S) Unresolved reference to symbol "sqlorat".
>
> I am working on AIX system with Oracle 9i.
> C++ compiler: xlC_r
>
> the libraries included , as in the command line: -lclntsh -lsql9
> -lclntst9 -lctx9 -lctxc9 -locijdbcst9 -ldt_socket -lgeneric9 -ldl
> -lpthread -posix4
>
> Oracle include options:
> -I$(ORACLE_HOME)/precomp/public -I$(ORACLE_HOME)/rdbms/demo
> -I$(ORACLE_HOME)/rdbms/public -I$(ORACLE_HOME)/plsql/public
> -I$(ORACLE_HOME)/plsql/include -I$(ORACLE_HOME)/lib/pw-syscall.exp
> -I$(ORACLE_HOME)/lib/ksms.imp
>
> Some of these were added after looking up some postings!
> Anything else I need to include?? any (more) libs to link?
> Thanks in advance for you valuable suggestions...
> GSai
HI ALL,
It works now! I was trying to link to the wrong version of the .a
file. Oracle9i has libraries as 2 sets- seen under lib and lib32. For
32 bit objects, the libs under the location lib32 should be used. And,
it suffices to include just -lclntsh in compile options!
GSai
Received on Tue Jan 28 2003 - 01:10:19 CST
![]() |
![]() |