tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* link pb : unresolved symbols
@ 2002-10-16 20:23 Julien.Soula
  2002-10-16 20:46 ` Clearing a port Jonathan Williams
  0 siblings, 1 reply; 2+ messages in thread
From: Julien.Soula @ 2002-10-16 20:23 UTC (permalink / raw)
  Cc: Julien.Soula

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-16 20:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-16 20:23 link pb : unresolved symbols Julien.Soula
2002-10-16 20:46 ` Clearing a port Jonathan Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox