unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Nala Ginrut <nalaginrut@gmail.com>
To: Christopher Baines <mail@cbaines.net>
Cc: Guile User <guile-user@gnu.org>
Subject: Re: guile-dbi and PostgreSQL
Date: Fri, 21 Jul 2017 17:44:15 +0800	[thread overview]
Message-ID: <CAPjoZochLgdPgC2e2a+KRCVP+EA9mAo3iQzcK6VyavQsVtucUQ@mail.gmail.com> (raw)
In-Reply-To: <20170721083423.631e1b3c@cbaines.net>

Have you installed guile-dbd-postgresql?

On Fri, Jul 21, 2017 at 3:34 PM, Christopher Baines <mail@cbaines.net> wrote:
> 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



  reply	other threads:[~2017-07-21  9:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-21  7:34 guile-dbi and PostgreSQL Christopher Baines
2017-07-21  9:44 ` Nala Ginrut [this message]
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=CAPjoZochLgdPgC2e2a+KRCVP+EA9mAo3iQzcK6VyavQsVtucUQ@mail.gmail.com \
    --to=nalaginrut@gmail.com \
    --cc=guile-user@gnu.org \
    --cc=mail@cbaines.net \
    /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).