Hi,
Fidel Viegas wrote:
...
>
> 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
>
thanks, but the problem still persists. If I try make install then
"make: Nothing to be done for `install'."
So if I perform make clean and then make install and then try to attempt
to connect I get the same error.
ruby: symbol lookup error: /usr/lib/ruby/gems/1.8/gems/fb-0.5.9/./fb.so:
undefined symbol: isc_attach_database
Just a note that I get some warnings for make install too, eg. :
fb.c: In function ‘fb_error_check’:
fb.c:380: warning: passing argument 1 of ‘isc_sqlcode’ from incompatible
pointer type
(I'm trying to connect like :
db = Database.new(
:database => "x.x.x.x:d:\\database\\tesdb.gdb",
:username => 'username',
:password => 'password')
conn = db.connect rescue db.create.connect
)
Thanks
koca
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---