From: Christopher Baines <mail@cbaines.net>
To: guile-user@gnu.org
Subject: guile-dbi and PostgreSQL
Date: Fri, 21 Jul 2017 08:34:23 +0100 [thread overview]
Message-ID: <20170721083423.631e1b3c@cbaines.net> (raw)
[-- 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 --]
next reply other threads:[~2017-07-21 7:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-21 7:34 Christopher Baines [this message]
2017-07-21 9:44 ` guile-dbi and PostgreSQL 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170721083423.631e1b3c@cbaines.net \
--to=mail@cbaines.net \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).