[Rubycocoa-devel 614] dyld error when loading rubycocoa.bundle about r1427

Back to archive index

Fujimoto Hisa hisa****@fobj*****
Tue Jan 16 16:00:59 JST 2007


Hi Laurent,

current apple-unstable (r1427) couldn't pass the test on my macbook  
(both
ruby-1.8.2 in /usr and ruby-1.8.5 in /opt).  r1416 has not this problem.
There're something linker problem when loading the rubycocoa.bundle.

the following show the error after setup phase:

   $ DYLD_FRAMEWORK_PATH=framework/build/Default \
       /usr/bin/ruby -Iext/rubycocoa -Ilib -r rubycocoa.bundle -e0
   dyld: NSLinkModule() error
   dyld: Symbol not found: _class_getName
     Referenced from: framework/build/Default/RubyCocoa.framework/ 
Versions/A/RubyCocoa
     Expected in: flat namespace

   Trace/BPT trap

the following is the result of testing:

/usr/bin/ruby install.rb test
install.rb: entering test phase...
---> tests
extention ok: dyld: loaded: ../ext/rubycocoa/rubycocoa.bundle, cpu- 
sub-type: 3
framework ok: dyld: loaded: ../framework/build/Default/ 
RubyCocoa.framework/Versions/A/RubyCocoa, cpu-sub-type: 3
"/usr/bin/ruby" -I../ext/rubycocoa -I../lib testall.rb
dyld: NSLinkModule() error
dyld: Symbol not found: _class_getName
   Referenced from: ../framework/build/Default/RubyCocoa.framework/ 
Versions/A/RubyCocoa
   Expected in: flat namespace

test failed
'system "/usr/bin/ruby" -I../ext/rubycocoa -I../lib testall.rb' failed
try 'ruby install.rb --help' for usage

thanks!
--
hisa




More information about the Rubycocoa-devel mailing list
Back to archive index