[racket-dev] Problems compiling Racket-5.1.2 on SunOS5.10(x86)

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Fri Aug 5 07:25:36 EDT 2011

At Thu, 4 Aug 2011 14:26:55 -0500, Kent Mein wrote:
> I'm trying to compile 5.1.2 on SunOS5.10(x86) and I'm getting the 
> following errors, anyone have any ideas?
> 
> [...]
> 
> ffi-obj: couldn't get "scheme_register_process_global" from #f (libc.so.1: 
> racketcgc: fatal: scheme_register_process_global: can't find symbol)

It looks like identifiers aren't exported by the `racket' executable.

Does configuring with `-rdynamic' in LDFLAGS fix the problem?:

 env LDFLAGS="-rdynamic" configure


Another possibility is 

  configure --enable-shared

which usually isn't recommended, but it should work around the problem.



Posted on the dev mailing list.