Backporting dlsym() call from Linux to SCO

From: Apu Singh Mary-Ann Smith (apu_at_simpsonian.com)
Date: 08/29/03


Date: Fri, 29 Aug 2003 12:26:36 -0700

I need to override memory allocation functions in SCO port of my app
(now running on Linux and SCO. I could not dump SCO support just yet).

So how could I backport calls like:
  c_free = (void (*)(void*))dlsym(RTLD_NEXT, "free");

given that RTLD_NEXT seem to be something specific to Linux (other UNIXes
including SCO seem to be lacking that macro).



Relevant Pages

  • Re: CRN is Outta Their Tree--DARL MCBRIDE?
    ... >Linux box, but I have done a moderate amount of reading) nor do I ... Apple's version of Unix. ... SCO has been about the most backward compatible company to ... that virtually all of the iNTEL based *n*x systems disappeared. ...
    (comp.unix.sco.misc)
  • Re: No longer supporting Unixware / Open Server
    ... In my experience Linux "crashes" are always due to: ... family PC, or rack-mounted server unit. ... Brian the rabid SCO fan recommends... ...
    (comp.unix.sco.misc)
  • Re: The Scotts Valley Operation?
    ... I asked Doug flatly "why did you sell out to Caldera"? ... gotten everything that SCO had promised to ... non-paying Linux customers. ... More like desperation, attempted ...
    (comp.unix.sco.misc)
  • Re: Who will buy SCO
    ... it was GPL'ed by The SCO Group. ... It isn't just OpenServer - there ... MS route and there are not any really good CAD packages for linux. ... No there are real applications that only work on SCO OS's, ...
    (comp.unix.sco.misc)
  • Re: Sco claim is Invalid.
    ... Minix later gave Linus ... And at the time, SCO had no free home use license, and I don't ... Without their short-sightedness, Linux ...
    (comp.os.linux.misc)