ruby - Datamapper do_postgres gem error: "dyld: lazy symbol binding failed: Symbol not found: _PQsetdbLogin" -


i'm trying run sinatra application datamapper , postgres db locally. i'm on mac os x 10.6.7 , ruby 1.9.2 , each time launch application, following error:

dyld: lazy symbol binding failed: symbol not found: _pqsetdblogin     referenced from: /ruby-1.9.2-p136/gems/do_postgres-0.10.5/lib/do_postgres/do_postgres.bundle     expected in: flat namespace 

does have idea why such error?

thanks lot

probably use different version of libpq library ruby driver expected. check version of libpq.

pavel


Comments