# Building prosqlite from source ? (with a view towards osquery)

**URL:** https://swi-prolog.discourse.group/t/building-prosqlite-from-source-with-a-view-towards-osquery/7495
**Category:** General
**Created:** [June 1, 2024, 11:00pm UTC](https://swi-prolog.discourse.group/t/building-prosqlite-from-source-with-a-view-towards-osquery/7495 "2024-06-01T23:00:32Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://swi-prolog.discourse.group/u/EricGT)
#### Post date: [June 2, 2024, 9:13am UTC](https://swi-prolog.discourse.group/t/building-prosqlite-from-source-with-a-view-towards-osquery/7495/2 "2024-06-02T09:13:54Z")

</div>

FYI for others.

This is a duplicate question. Please use

> [@Building prosqlite from source ? (with a view towards osquery)](https://swi-prolog.discourse.group/t/building-prosqlite-from-source-with-a-view-towards-osquery/7493):
>
> Hi. I’ve been trying to get to grips with SWI prolog. As I like to build things from source, I’ve been looking at how to build prosqlite from source. Little build documentation. I tried: CFLAGS=-I/location/of/lib/swipl/include LDSOFLAGS=-lc PACKSODIR=$PWD/build make Not very conclusive: prosqlite.c:(.text+0x22): undefined reference to `PL\_blob\_data’ And lots of errors like that. So. How do you people build stuff from source in the prolog world ? Context: investigating how to integrate…

---

_[View the full topic](https://swi-prolog.discourse.group/t/building-prosqlite-from-source-with-a-view-towards-osquery/7495)._
