Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* dlopen/ libdl.so.x`
@ 1998-01-18  5:00 Who's There
  1998-01-22  5:00 ` Albert K. Lee
  0 siblings, 1 reply; 2+ messages in thread
From: Who's There @ 1998-01-18  5:00 UTC (permalink / raw)



Hi, I was trying to compile the MICO  a free CORBA implementation and I
kept running into a problem when trying to link the object files. The
line to build the final executable includes the -ldl switch but the
compiler keeps crapping out with undefined symbol error for dlopen,
dlclose and dlsym. 
Comparing the problem to Linux/Intel, I saw the using ldconfig to look
at the shared libraries had libdl.so.1 => libdl.so.1.87 but on
Linux/Alpha the link was libdl.so.2 =>   libdl.so.2. Changing the
symbolic links had no effect. Any ideas,

TIA

Olu



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

* Re: dlopen/ libdl.so.x`
  1998-01-18  5:00 dlopen/ libdl.so.x` Who's There
@ 1998-01-22  5:00 ` Albert K. Lee
  0 siblings, 0 replies; 2+ messages in thread
From: Albert K. Lee @ 1998-01-22  5:00 UTC (permalink / raw)



On Sun, 18 Jan 1998 11:23:33 -0500, Who's There <olu-o@usa.net> wrote:
>Hi, I was trying to compile the MICO  a free CORBA implementation and I
>kept running into a problem when trying to link the object files. The
>line to build the final executable includes the -ldl switch but the
>compiler keeps crapping out with undefined symbol error for dlopen,
>dlclose and dlsym. 
>Comparing the problem to Linux/Intel, I saw the using ldconfig to look
>at the shared libraries had libdl.so.1 => libdl.so.1.87 but on
>Linux/Alpha the link was libdl.so.2 =>   libdl.so.2. Changing the
>symbolic links had no effect. Any ideas,
>
>TIA
>
>Olu

Hmmm ... you know, this is something I noticed on Solaris but it might
be true for Linux/Alpha as well ... when gcc is run as the linker,
look for an '-R' option.  If there is one, get rid of the -R from the
makefile since gcc does something strange with it present on the
command line.

	gcc obj1.o obj2.o -o program -lX11 -R -ldl

for instance will cause gcc to not process the -ldl properly.



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

end of thread, other threads:[~1998-01-22  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-01-18  5:00 dlopen/ libdl.so.x` Who's There
1998-01-22  5:00 ` Albert K. Lee

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