• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problem with dlsym
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Problem with dlsym (From: "Jordan K. Hubbard" <email@hidden>)

  • Prev by Date: Re: Problem with dlsym
  • Next by Date: Re: mutex PTHREAD_MUTEX_ERRORCHECK and pthread_cancel issues
  • Previous by thread: Re: Problem with dlsym
  • Next by thread: passwordserver_sasl-59.2
  • Index(es):
    • Date
    • Thread