From: aklee@spam.this.interport.net (Albert K. Lee)
Subject: Re: dlopen/ libdl.so.x`
Date: 1998/01/22 [thread overview]
Message-ID: <slrn6cfjs4.5ru.aklee@interport.net> (raw)
In-Reply-To: 34C22C85.49ADA53C@usa.net
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.
prev parent reply other threads:[~1998-01-22 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-01-18 5:00 dlopen/ libdl.so.x` Who's There
1998-01-22 5:00 ` Albert K. Lee [this message]
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