Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* resolving dynamic symbols
@ 1997-02-15  4:19 Stephen Williams
  0 siblings, 0 replies; 3+ messages in thread
From: Stephen Williams @ 1997-02-15  4:19 UTC (permalink / raw)


I'm loading objects dynamically in Tck/Tk (an image manipulating program
I'm working on) and I'm having a little trouble with Linux/ALPHA not
resolving symbols. The same program works on Linux/Intel and Linux/SPARC.

I have two shared objects. The first one references symbols only in the
wish program that loads it. It loads fine. The second object references
symbols in the first loaded object, and fails to load.

Is this a known bug? Is there a fix?

My setup is RedHat Linux/Alpha 4.0 with all the updates and the 2.0.27
kernel. (I've been planning on stickiing with the 2.0.x series for now,
as it serves me on all my other plaatforms perfectly well.)

-- 
Steve Williams
steve@icarus.com
steve@picturel.com

"The woods are lovely, dark and deep.  But I have promises to keep,
And lines to code before I sleep, And lines to code before I sleep."

--
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

^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <199702150419.UAA02511@icarus.icarus.com>]
* Re: resolving dynamic symbols
@ 1997-02-16  0:13 Stephen Williams
  0 siblings, 0 replies; 3+ messages in thread
From: Stephen Williams @ 1997-02-16  0:13 UTC (permalink / raw)


> I have two shared objects. The first one references symbols only in the
> wish program that loads it. It loads fine. The second object references
> symbols in the first loaded object, and fails to load.

richard@atheist.tamu.edu said:
> You havn't given me quite enough information, but it doesn't sound 
> like a bug, it sounds like intended behaviour. 

> (1) In order for one dlopen'd object to see another, you must give
>     the flag RTLD_GLOBAL to dlopen.

It is Tcl that is calling dlopen, and it is the precompiled tcl from
RedHat that I'm using, in every case. I guess I can get the sources from
the correct place and see what's up. Thanks for the info.

-- 
Steve Williams
steve@icarus.com
steve@picturel.com

"The woods are lovely, dark and deep.  But I have promises to keep,
And lines to code before I sleep, And lines to code before I sleep."

--
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

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

end of thread, other threads:[~1997-02-16  0:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-02-15  4:19 resolving dynamic symbols Stephen Williams
     [not found] <199702150419.UAA02511@icarus.icarus.com>
1997-02-15 16:45 ` Richard Henderson
  -- strict thread matches above, loose matches on Subject: below --
1997-02-16  0:13 Stephen Williams

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