hello,
I have simplified the problem.
I have a library (Oracle client lib) with several defined symbols and
some of these can't be linked with program.
Example :
I did a little test program which just use a library symbol (function
OCILobCreateTemporary)
void *p;
main () {
p=(void *)&OCILobCreateTemporary;
printf("Hello cruel world %p!!!\n",p);
return 0;
}
then when I compile this source, the symbol is unresolved whereas it
is defined in library:
# cc test.o $ORACLE_HOME/lib/libclntsh.so
ld:
Unresolved:
OCILobCreateTemporary
# nm $ORACLE_HOME/lib/libclntsh.so | grep OCILobCreateTemporary
OCILobCreateTemporary | 0004396966224224 | T | 0000000000000008
Has someone a idea of what can prevent a symbol in a library from
linking with other object.
Any help will be appreciate. Thanks,
-- Julien
Received on Mon Oct 21 2002 - 17:06:10 NZDT