Re: Problem with dlsym
Re: Problem with dlsym
- Subject: Re: Problem with dlsym
- From: "Alexey Proskuryakov" <email@hidden>
- Date: Fri, 13 May 2005 08:38:56 +0400
On Thu, 12 May 2005 14:49:25 -0700 "Jordan K. Hubbard" <email@hidden> wrote:
And the answer is that this is a known bug ("rdar://problem/4057081
infinte loop in dlsym(RTLD_NEXT, ) when symbol not found.", JFYI for those
with radar access).
Could it also be a reason for iODBC to malfunction in 10.4
(rdar://4069775)? The stack trace shows a lot of recursion in dlsym...
According to the developer, it only happens when there are circular
dependencies with libraries. The work around is 1) remove the circular
dependency, or 2) use dlsym(RTLD_DEFAULT, "xxx") instead of RTLD_NEXT.
Unfortunately, this workaround doesn't apply if one intends to use Apple's
libiodbc (though, one can always revert to OpenLink's version).
- WBR, Alexey Proskuryakov
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden