On Mon, May 4, 2009 at 2:20 PM, Martin Koca <[email protected]> wrote: > > Hi, > I want to connect to firebird db via RoR application. But when I attempt > to connect then server shutdown with the following error : > > ruby: symbol lookup error: /usr/lib/ruby/gems/1.8/gems/fb-0.5.9/./fb.so: > undefined symbol: isc_attach_database > > I have tried to figure out the solution, but without success. I think I > don't have some library, but ....? Do you have any idea, clues ? >
1) Install the following gems: fb (0.5.9) fb_adapter (0.5.8) 2) Make sure that you have libfbclient.so in your /usr/lib 3) Go to where fb-0.5.9 folder is. In mine it is found at /usr/lib/ruby/gems/1.8/gems/fb-0.5.9 4) Type sudo make install. This will build the fb.so for the version of firebird you are using. I have tried it with FB 2.0.x and 2.1.x That's it. Hope that solves your problem. All the best, Fidel. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

