tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* UPDATE: link pb : unresolved symbols
@ 2002-10-21 16:31 Julien.Soula
  0 siblings, 0 replies; only message in thread
From: Julien.Soula @ 2002-10-21 16:31 UTC (permalink / raw)
  Cc: Julien.Soula

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-21 16:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-21 16:31 UPDATE: link pb : unresolved symbols Julien.Soula

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