From: "Julien.Soula" <soula@lifl.fr>
Cc: Julien.Soula@lifl.fr
Subject: UPDATE: link pb : unresolved symbols
Date: Mon, 21 Oct 2002 18:31:50 +0200 [thread overview]
Message-ID: <15796.11254.697218.84776@kerstbol.lifl.fr> (raw)
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
reply other threads:[~2002-10-21 16:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox