link pb : unresolved symbols

From: Julien.Soula <soula_at_lifl.fr>
Date: Wed, 16 Oct 2002 22:23:24 +0200

hello (and sorry for poor english),

I have pb with dynamic loader in Tru64-V5.1 alphaev6. When i compile
with a certain library (oracle lib), it find the most part of symbols
in this lib but complain on 6 among them (OCILobCreateTemporary,
OCILobClose, OCILobFreeTemporary, OCILobIsTemporary, OCILobOpen). Yet
These symbols too are defined in lib.


Did someone already have the kind of pb ?

Is there a distinction beetween symbols definitions (in the case, all
symbols are defined globals) which could prevent in linking ?


Here the compile line (symbols are undefined in "./libphp4.a" and
defined in "-lclntsh"):

cc -g -o php stub.o ./libphp4.a -L/usr/local/lib -L/usr/oracle/product/8.1.6/li
b -lm -laio_raw -lrt -lmld -lexc -lintl -lgd -lX11 -lXpm -lpng -lz /usr/local/li
b/libjpeg.so -lz -lssl -lcrypto -lresolv -lm -lresolv -lclntsh -rpath /usr/loca
l/lib:/usr/oracle/product/8.1.6/lib


Here an extract of symbols in "libclntsh.so" with a resolved symbol
"OCILobWrite" and an unresolved symbol "OCILobCreateTemporary" (I
don't see differences) :

# nm -a /usr/oracle/product/8.1.6/lib/libclntsh.so
                [..............]
OCILobWrite |0004396966223328|Proc |end=115 btNil |0000000000000008|707|Text
OCILobWrite |0000000000000108|End |ref=707 |0000000000000000|708|Text
OCILobWrite |0004396966223328|Proc |ref=707 |0000000000000008|34014|Text
                [..............]
OCILobCreateTemporary|0004396966224224|Proc |end=147 btNil |0000000000000008|739|Text
OCILobCreateTemporary|0000000000000084|End |ref=739 |0000000000000000|740|Text
OCILobCreateTemporary|0004396966224224|Proc |ref=739 |0000000000000008|34030|Text
                [..............]


Thanks in advance for very help,
-- Julien
Received on Wed Oct 16 2002 - 20:24:27 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:43 NZDT