www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/12/14/13:08:17

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Message-ID: <00a401c184d1$c1993880$4601a8c0@wladeira>
From: =?iso-8859-1?Q?Andr=E9_Ladeira?= <ladeira AT automatos DOT com>
To: <djgpp AT delorie DOT com>
Subject: linux dlopen question
Date: Fri, 14 Dec 2001 16:01:37 -0300
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Reply-To: djgpp AT delorie DOT com

Hi,

I'm writting a C program that needs to load two differents libraries
dynamically, using dlopen()
calls. The problem is that there is a cross-reference between these libs,
i.e: libA has an unresolved symbol X that is defined in libB, an libB has an
unresolved symbol Y that is defined in libA.
So, dlopen() can't load both libs because of the unresolved symbols. Even
with the option RTLD_LAZY it fails.

Does any have faced with this problem??
Any hints, sites, source code etc...are apreciatted.

Thanks in advance for any help,

André Ladeira
System Analyst
Try Automatos @ www.automatos.com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019