Hello Gary,

Gary Johnson <lambdatro...@gmail.com> writes:

[...]

> The key thing to watch for is the #:configure-flags list:
>
> #:configure-flags '("--enable-aqbanking"
>                     ,(string-append "--with-dbi-dbd-dir="
>                                     (package-output (open-connection) 
> libdbi-drivers-sqlite)
>                                     "/lib/dbd"))
>
> My guess is that the call to package-output is returning the pre-grafted
> directory name for libdbi-drivers-sqlite, but dlopen needs to find the
> driver in the post-grafted one (or maybe the other way around). Any
> insight would be appreciated.

Instead of

  (package-output (open-connection) libdbi-drivers-sqlite)

use

  (assoc-ref %build-inputs "libdbi-drivers-sqlite")

which may fix issue with grafts, I guess.

Thanks,
Oleg.

Attachment: signature.asc
Description: PGP signature

Reply via email to