Operating System - HP-UX
1756988 Members
3521 Online
108858 Solutions
New Discussion

linking libclntst8 instead libclntsh

 
Federico Fassone
New Member

linking libclntst8 instead libclntsh

I wrote a library interface to connect to Oracle using libclntsh, I called this interface libdbinterface.a
If I try to use this library from a new program, everything is ok. If compile my libdbinterface using static libclntst8, the interface compile, but the new file gives me this error:
/usr/ccs/bin/ld: Unsatisfied symbols:
OCIBindByPos (first referenced in /usr/local/selesta/lib/libdbinterface.a(clsoradb_command.o)) (code)
OCIStmtExecute (first referenced in /usr/local/selesta/lib/libdbinterface.a(clsoradb_command.o)) (code)
....
....
Help me please!