Forum: Ruby rb_gc_* function not found

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
8e16a6f9d478f30b81a47e442fd2123a?d=identicon&s=25 unknown (Guest)
on 2006-01-24 16:54
(Received via mailing list)
Hi,

  I am compiling Maya Ruby plugin on OS X and during the linker stage,
the linker is unable to find rb_gc_enable() and similar functions.

  It is able to find the other Ruby function so I think the libraries
are fine.

  I have compiled the code on WindowsXP and it was fine.

  I only have difficulty on OS X.

  As the libraries naming is different on the two platforms, I don't
have a one-to-one comparison.

  There is a libruby.dylib file [shipped standard with OSX ] and it is
providing all the other function except those associated with GC.

  Anyone familiar with linking with Ruby libraries on OS X?

  Specification:
  OS X 10.4.4
  Ruby 1.8.2

  I am building under XCode 2.1 and have customise it to use GCC 3.3
(Alias Maya requires gcc 3.3 for the plugins to work with their
applications)

  I also need to deploy it as a 10.3.9 runtime package for Alias Maya
to work.

Cheers
This topic is locked and can not be replied to.