From: Dan Weeks <danimal@blueskystudios.com>
Subject: Re: dlopen() bug on Linux/Alpha ( Was: Unidentified subject!)
Date: Sat, 10 Jan 1998 18:02:58 -0500 [thread overview]
Message-ID: <cb5559a042a74030c02343ee53d3dcc1.axp-list@archive.invalid> (raw)
In-Reply-To: <199801102141.WAA08358@kotter.atko.at>
We tried that one too. We got the same results. I beleive that
"-export-dynamic" allows other dynamic libraries to see the symbols in
the one you are loading. But that is just my understanding of it.
-danimal
Stefan Traby writes:
> Hi Dan !
>
> > Let me make a correction to this. When the dlopen call is used it
> > does _not_ kill the executable, it only returns a null file handle.
> > When we use the exact same code on an SGI the shared library is opened
> > and everything works fine.
>
> The big question is, what "-ignore_unresolved" really does.
> Each dynamic library has a "dependency list".
>
> Maybe "-ignore_unresolved" doesn't create dependency entries under Linux.
> This may cause runtime-linking to fail.
>
> Try "-export-dynamic"
>
>
> [man 1 ld ....]
> -export-dynamic
> When creating an ELF file, add all symbols to the
> dynamic symbol table. Normally, the dynamic symbol
> table contains only symbols which are used by a dy-
> namic object. This option is needed for some uses
> of dlopen.
>
> Hope it helps.
--
Dan Weeks <danimal@blueskystudios.com>
Blue Sky|VIFX http://www.blueskystudios.com/ http://www.vifx.com/
Harrison, New York 914/381.8400 - Los Angeles, California 310/822.8872
nunc est bibendum
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next prev parent reply other threads:[~1998-01-10 23:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-01-10 21:41 dlopen() bug on Linux/Alpha ( Was: Unidentified subject!) Stefan Traby
1998-01-10 23:02 ` Dan Weeks [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-01-11 3:07 Richard Hadsell
1998-01-10 20:45 Dan Weeks
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