# postgresql support not supported

**URL:** <https://sleuthkit.discourse.group/t/postgresql-support-not-supported/2305>\
**Category:** The Sleuth Kit Help\
**Created:** [November 18, 2020, 9:23pm UTC](https://sleuthkit.discourse.group/t/postgresql-support-not-supported/2305 "2020-11-18T21:23:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![swissflyer12](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@swissflyer12](https://sleuthkit.discourse.group/u/swissflyer12)\
**Post date:** [November 18, 2020, 9:23pm UTC](https://sleuthkit.discourse.group/t/postgresql-support-not-supported/2305/1 "2020-11-18T21:23:05Z")

</div>

Hi,  
I am following the steps on this link [https://slo-sleuth.github.io/tools/InstallingAutopsyOnMacOS.html#sleuthkitdeps](https://slo-sleuth.github.io/tools/InstallingAutopsyOnMacOS.html#sleuthkitdeps), however I faced a problem during the “Build and Install the Sleuthkit” section.

I ran  
export CPPFLAGS="-I/usr/local/opt/libpq/include"  
and then  
./configure

However, there is no mention of postgresql support once the command finishes.

 ![Screen Shot 2020-11-18 at 12.37.15 PM](https://global.discourse-cdn.com/free1/uploads/sleuthkit/original/2X/5/52e6134e8bbaf591cfe8fde7df9538aee0d789e0.jpeg)

I tried rerunning the  
export CPPFLAGS="-I/usr/local/opt/libpq/include"  
however it didn’t appear to change anything.

Any help is greatly appreciated.

Thank you

---

<div class="post-metadata">

**Author:** ![Rahul09](https://avatars.discourse-cdn.com/v4/letter/r/ecae2f/32.png) [@Rahul09](https://sleuthkit.discourse.group/u/Rahul09)\
**Post date:** [November 19, 2020, 10:13am UTC](https://sleuthkit.discourse.group/t/postgresql-support-not-supported/2305/2 "2020-11-19T10:13:11Z")

</div>

Im having the same issue, did you manage to find a solution?

---

<div class="post-metadata">

**Author:** ![downey](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@downey](https://sleuthkit.discourse.group/u/downey)\
**Post date:** [November 19, 2020, 3:46pm UTC](https://sleuthkit.discourse.group/t/postgresql-support-not-supported/2305/3 "2020-11-19T15:46:04Z")

</div>

And you’ve definitely installed libpq via brew right? Do you see anything in /usr/local/opt/libpq/include?  
Perhaps it installed libpq elsewhere?

---

<div class="post-metadata">

**Author:** ![swissflyer12](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@swissflyer12](https://sleuthkit.discourse.group/u/swissflyer12)\
**Post date:** [November 19, 2020, 5:31pm UTC](https://sleuthkit.discourse.group/t/postgresql-support-not-supported/2305/4 "2020-11-19T17:31:11Z")

</div>

Yes, I did install libpq via brew and I there are files in /usr/local/opt/libpq/include.  
I followed this command and then the ones that followed to create the link and to test the link.  
brew install ant afflib libewf libpq.

Unfortunately, I still haven’t found a fix

---

<div class="post-metadata">

**Author:** ![downey](https://avatars.discourse-cdn.com/v4/letter/d/a87d85/32.png) [@downey](https://sleuthkit.discourse.group/u/downey)\
**Post date:** [November 20, 2020, 4:37pm UTC](https://sleuthkit.discourse.group/t/postgresql-support-not-supported/2305/5 "2020-11-20T16:37:45Z")

</div>

In case you haven’t seen my response on the other thread on this topic…it looks like this is simply a case of the instructions being out of date. The dependency on PostgreSQL was removed in TSK release 4.10.0. You should not need to perform any of the PostgreSQL related steps to build the Sleuthkit Java bindings.
