tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Julien.Soula" <soula@lifl.fr>
Cc: Julien.Soula@lifl.fr
Subject: link pb : unresolved symbols
Date: Wed, 16 Oct 2002 22:23:24 +0200	[thread overview]
Message-ID: <15789.51900.194474.382119@kerstbol.lifl.fr> (raw)

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


             reply	other threads:[~2002-10-16 20:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-16 20:23 Julien.Soula [this message]
2002-10-16 20:46 ` Clearing a port Jonathan Williams
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