[MacRuby] #1383: Need to implement ENCODING_GET_INLINED

MacRuby ruby-noreply at macosforge.org
Tue Aug 30 16:46:22 PDT 2011


#1383: Need to implement ENCODING_GET_INLINED
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------
 {{{
 $ brew install postgresql
 $ export PGDATA=/usr/local/pgsql/data
 $ initdb --encoding=UTF8 --no-locale
 $ pg_ctl -w start
 $ createdb test

 $ sudo macgem install pg
 $ macruby test_pg.rb
 dyld: lazy symbol binding failed: Symbol not found: _ENCODING_GET_INLINED
   Referenced from:
 /Library/Frameworks/MacRuby.framework/Versions/0.11/usr/lib/ruby/Gems/1.9.2/gems/pg-0.11.0/lib/pg_ext.bundle
   Expected in: flat namespace

 dyld: Symbol not found: _ENCODING_GET_INLINED
   Referenced from:
 /Library/Frameworks/MacRuby.framework/Versions/0.11/usr/lib/ruby/Gems/1.9.2/gems/pg-0.11.0/lib/pg_ext.bundle
   Expected in: flat namespace

 LOG:  unexpected EOF on client connection
 zsh: trace trap  macruby test_pg.rb
 }}}

 Test Script:
 {{{
 #!ruby
 require 'rubygems'
 require 'pg'

 conn = PGconn.open(:dbname => 'test')

 begin
   conn.exec('drop table sample;')
 rescue
 end

 res  = conn.exec('create table sample (name text, age int);')
 status = res.result_status
 p res.res_status(status)
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1383>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list