MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: MathLink under Mac OS X

  • To: mathgroup at smc.vnet.net
  • Subject: [mg38428] Re: MathLink under Mac OS X
  • From: choukoushi at yahoo.com
  • Date: Sat, 14 Dec 2002 03:20:52 -0500 (EST)
  • References: <aqsrh6$c3e$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

I had the same problem. Running ranlib did fix the out-of-date error
message.
However, I still get the message "/usr/bin/ld:
/usr/lib/libSystem.dylib load command 9 unknown cmd field". Then,
"make: *** [addtwo] Error 1".

Anyone seen this?



"P.J. Hinton" <paulh at wolfram.com> wrote in message news:<aqsrh6$c3e$1 at smc.vnet.net>...
> On Tue, 12 Nov 2002, some anonymous coward wrote:
> 
> > I'm trying to get the example addtwo to compile, using ProjectBuilder.
> > The Developer's guide says in different places, that I should not use
> > libML.a, and also that I must use it.  In any event, I get fatals errors
> > 'out of date' if I try to include it.  If I leave it out and use
> > mathlink.framework instead, addtwo compiles but does not run normally.
> > 
> > Any suggestions?  I've been working on this for days, it is driving me
> > crazy.  I'm not a professional software developer and not very familair
> > with ProjectBuilder, either.
> 
> MacOS X uses a static library for MathLink, just as has been done with
> other UNIX variants.
> 
> There is a known issue for MacOS X wherein it is necessary to run the
> command line tool ranlib on the library file libML.a before building
> executables that are linked against the library.  As long as you don't
> move the library file to another location, you need only do this once.


  • Prev by Date: Re: Numeric Integration of Tabulated Integrand Function: Part I
  • Next by Date: Re: plot in new page with mathematica
  • Previous by thread: AW: too many {{}}'s for listplot
  • Next by thread: Re: MathLink under Mac OS X