Didn't take this newbie long to hit the first roadblock
kp
platysternon at hotmail.com
Sat Jul 19 03:48:50 UTC 2025
On Saturday, 19 July 2025 at 03:01:51 UTC, Richard (Rikki) Andrew
Cattermole wrote:
> A quick look for dpq2 shows that by default it is configured to
> use a static binding to PostgreSQL client library.
>
> https://github.com/denizzzka/dpq2/blob/master/dub.json#L20
>
> It explicitly adds a shared library dependency on it (``libs``
> directive). Which is appropriate if you are on a posix system
> with a package manager.
>
> Naturally for a Windows user that isn't available to you.
>
> You want the configuration "dynamic" instead.
>
> Copy the appropriate shared library next to your executable and
> if the names line up, it should work.
>
> ```json
> "subConfigurations": {
> "dpq2": "dynamic"
> }
> ```
>
> Here is the default names its looking for:
>
> https://github.com/DerelictOrg/DerelictPQ/blob/master/source/derelict/pq/dynload.d#L552
Much appreciated - thanks
More information about the Digitalmars-d-learn
mailing list