georgiev/rubyfb — Issue #8: dyld: lazy symbol binding failed: Symbol not found: _isc_attach_database
Author: vitamino
Created: 2012-02-12 12:03:08+00:00
State: open

Trying to solve [this issue](https://github.com/georgiev/rubyfb/issues/7) I tested another configuration:

rails 3.1
activerecord 3.1.0
ruby 1.8.7 / 1.9.2

I get the same error using both ruby versions:

```ruby
ruby-1.9.2-p290 :001 > ActiveRecord::Base.establish_connection(:firebird)
=> #"rubyfb", :database=>"d:\\database\\mydatabase.gdb", :username=>"sysdba", :password=>"xxxxxxx", :host=>"123.456.789.000"}, @adapter_method="rubyfb_connection">, @reserved_connections={}, @connection_mutex=#>, @queue=#>, @cond=#>>, @timeout=5, @size=5, @connections=[], @checked_out=[], @automatic_reconnect=true, @tables={}, @visitor=nil, @columns={}, @columns_hash={}, @column_defaults={}, @primary_keys={}>
ruby-1.9.2-p290 :002 > class Item < ActiveRecord::Base
ruby-1.9.2-p290 :003?> set_table_name "items"
ruby-1.9.2-p290 :004?> end
dyld: lazy symbol binding failed: Symbol not found: _isc_attach_database
Referenced from: /Users/xx/.rvm/gems/ruby-1.9.2-p290/gems/rubyfb-0.6.2/lib/rubyfb_lib.bundle
Expected in: flat namespace

dyld: Symbol not found: _isc_attach_database
Referenced from: /Users/xx/.rvm/gems/ruby-1.9.2-p290/gems/rubyfb-0.6.2/lib/rubyfb_lib.bundle
Expected in: flat namespace

Trace/BPT trap
```