unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* guile-dbi and PostgreSQL
@ 2017-07-21  7:34 Christopher Baines
  2017-07-21  9:44 ` Nala Ginrut
  0 siblings, 1 reply; 5+ messages in thread
From: Christopher Baines @ 2017-07-21  7:34 UTC (permalink / raw)
  To: guile-user

[-- Attachment #1: Type: text/plain, Size: 671 bytes --]

Hey,

I've been having a try getting guile-dbi talking to PostgreSQL. I'm
using Guix packages, adapted to use the sources from [1].

1: https://github.com/opencog/guile-dbi/releases

So far, I'm getting an error about a undefined symbol.

scheme@(guile-user)> (define db-obj (dbi-open "postgresql" "postgres"))
scheme@(guile-user)> (dbi-query "\\d")
scheme@(guile-user)> (dbi-query db-obj "\\d")
scheme@(guile-user)> (display db-obj) (newline)
#<guile-dbi close postgresql postgres
(1 . /gnu/store/w5g1gpxbqfpkv0qnryglh6m7g9hd90an-guile-dbi-2.1.6/lib/libguile-dbi.so.2:
undefined symbol: __postgresql_query_g_db_handle)>

Any ideas?

Thanks,

Chris

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 963 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-07-22  7:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-21  7:34 guile-dbi and PostgreSQL Christopher Baines
2017-07-21  9:44 ` Nala Ginrut
2017-07-21 18:05   ` Christopher Baines
     [not found]     ` <CAPjoZod_NcbCd=JVs1f9wVqgWF37zQKusB=JoHX9oj154JfDTg@mail.gmail.com>
     [not found]       ` <CAPjoZoeaSnvwxDfEmB1nMTpUT=uX-FAxXPhBTPGVHm6GHiR03w@mail.gmail.com>
2017-07-22  4:32         ` Nala Ginrut
2017-07-22  7:52           ` Christopher Baines

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).