From: Julien.Soula (soula@lifl.fr)
Date: Mon Oct 21 2002 - 12:31:50 EDT
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
This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:57 EDT