[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mon, 17 Apr 2017 11:35:10 +0200
I'm not sure i this is for the guix-help ml or for the guile-users ml
I'll move this to the appropriate place, if you will indicate it to me.
On my GuixSD system, I'm trying to get my feet wet with cwebber's squee
I have this line
(define conn (connect-to-postgres-paramstring "dbname=tryton
then, in the REPL, I try
and I get
$4 = ././././squee.scm:131:29: In procedure #<procedure 1998560 at
././././squee.scm:129:2 (pg-conn port)>:
././././squee.scm:131:29: In procedure unwrap-pg-conn: Wrong type argument:
Error while printing exception.
Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue.
Of course I get this same exception also if I try to run a query, with the
Previously, I changed this line
(define libpq (dynamic-link "libpq"))
(define libpq (dynamic-link
that's the postgres that's installed in my profile
But there are 3 more postgreses in my store
~$ ls /gnu/store/ | grep postgresql
I don't know why. I have configured my system with a postgresql service
running. Maybe the service is using a different package form the one
installed in my profile ?
I don't know
And what about the other 2 postgreses ?
Anyway, about my my screech with squee: Is it because I'm linking
incorrectly to the postgres library ?
Or is this because the code is not fresh (last edit was "one year ago") ?
Thanks in advance