From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 31578 invoked from network); 6 Aug 1998 21:29:41 -0000 Received: from stefan.sime.com (193.228.80.247) by mail2.redhat.com with SMTP; 6 Aug 1998 21:29:41 -0000 Received: (from stefan@localhost) by stefan.sime.com (8.8.7/8.8.7) id XAA01752; Thu, 6 Aug 1998 23:24:36 +0200 Date: Thu, 6 Aug 1998 23:24:36 +0200 Message-Id: <199808062124.XAA01752@stefan.sime.com> From: Quant-X Alpha Linux Support To: Eric Ding CC: axp-list@redhat.com In-reply-to: (message from Eric Ding on 06 Aug 1998 12:30:36 -0400) Subject: Re: BUG: probs with resolving functions in shared library MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: Quant-X Alpha Linux Support Reply-To: Quant-X Alpha Linux Support Organization: Quant-X Service & Consulting Ges.m.b.H. X-Mailer: GNU Emacs 20.2.1 C-x m (X11 ; I; Linux 2.1.113 i586) References: <199808052248.AAA01063@stefan.sime.com> <199808061259.OAA00370@stefan.sime.com> Hi Erik ! > thanks for your suggestions -- I'm not altogether sure they'll even be > possible in the real application, but let's stay with the stub for now; it > still appears that the fix only works partially. Sorry, the problem was in my head. ;-( We had here an export-dynamic discussion here in January and I had a private in March; your problem is a bit more trickey... I can force the bug to appear as in your first version by dlopen using "RTLD_NOW|RTLD_GLOBAL" within the stub. (and RTLD_GLOBAL is needed to export symbols...) Because RTLD_GLOBAL is like "-export-dynamic" (and this is needed for your small app (Applixware)) forget the stub at all, my fault, sorry. It does not fix the scope bug if you want symbols... Fixing the "scope bug" is IMHO the best workaround. I don't know if reporting to "bug-glibc@prep.ai.mit.edu" is a good idea, but the bug seems to be in glibc-sources/elf. ciao - Stefan -- Quant-X Service & Ph: (+43) 4212 6004-0 Consulting Ges.m.b.H. Fax: (+43) 4212 600420 http://www.quant-x.com Email: support@quant-x.com