Author |
|
skumar
Joined: 04 Apr 2018 Posts: 3 Location: USA, Atlanta
|
Posted: Thu 05 Apr '18 15:39 Post subject: Can't load driver file apr_dbd_pgsql.so |
|
|
Hi everyone,
I am using Apache HTTPD 2.4.33 VC11 (32 & 64 bit) windows server. For user's authentication I am using DBD (postgresql) module, but getting error:
Can't load driver file apr_dbd_pgsql.so
Looks like driver is missing. Can someone help me with psql driver (for windows, apr_dbd_pgsql-1.dll) for HTTPD 2.4.33 VC11? |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Fri 06 Apr '18 8:15 Post subject: |
|
|
Yeah, about that.
The only potential problem I see is that all the windows PostgreSQL binaries are built with vc12, most software isn't forward compatible and VC11 apr_dbd_pgsql.dll will be loading vc12 dlls from your installation. It may not be stable if it works at all. Don't know.
You can ask at that link Jan posted. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3094 Location: Hilversum, NL, EU
|
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Fri 06 Apr '18 11:42 Post subject: |
|
|
I don't have/use PostgreSQL, I just have the headers and libs and am willing to build. But since you have, I guess I do not need to
Which pgsql did you use, 10.3? |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3094 Location: Hilversum, NL, EU
|
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Fri 06 Apr '18 11:57 Post subject: |
|
|
Oh ok. Was wondering where you got those, once I looked. I spoke before I looked, I thought you built the dbd connecter. That will teach me to look first.
I wonder if it matter what pgsql version skumar is using.
That said, when I did this back in 1/2018, libpg.dll was dependent on libintl-8.dll, which was dependent on libiconv-2.dll. So php obviously doesn't have the internationalization ... cool. For the connector it shouldn't be needed anyway. |
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
|
Back to top |
|
Jan-E
Joined: 09 Mar 2012 Posts: 1266 Location: Amsterdam, NL, EU
|
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Sat 07 Apr '18 21:17 Post subject: |
|
|
Boy has this thread evolved into something it wasn't, keeping with that I built pgsql 10.3 yesterday and it was easy and smooth right up until the postgre.exe file (or whatever it's name is). The lib built fine and doesn't require openssl so you're certainly correct there Jan.
I'll do 9.6.8 later today or tomorrow and then make some connectors as time permits. I've been focused on a new 2.4/LibreSSL build so far today. |
|
Back to top |
|
skumar
Joined: 04 Apr 2018 Posts: 3 Location: USA, Atlanta
|
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Mon 09 Apr '18 21:56 Post subject: |
|
|
That has been working for others with many DBs so I assume it should. I would suggest keeping an eye on it for awhile but if Tom said it's ok which it seems he has there then it's ok. |
|
Back to top |
|
skumar
Joined: 04 Apr 2018 Posts: 3 Location: USA, Atlanta
|
Posted: Tue 10 Apr '18 17:28 Post subject: |
|
|
Thanks glsmith. |
|
Back to top |
|