On Wed, Feb 13, 2008 at 7:54 PM, Roger Binns <[EMAIL PROTECTED]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Norman Young wrote:
> > We had to exclude references to sqlite3_enable_load_extension and
> > sqlite3_load_extension from within apsw.c, in order to avoid undefined
> > symbol references during the build (python setup.py install).
>
> You should have modified the setup.py to include a define of
> SQLITE_OMIT_LOAD_EXTENSION.
>
> The general theory is that you should create/compile SQLite with
> whatever flags you want (you can exclude many features) and then provide
> the same flags when compiling apsw.  Unfortunately I don't know of any
> way of automatically finding out what flags/inclusions/exclusions SQLite
> was compiled with.
>
> Roger
>

Hey, hey. Right your are!

In the apsw setup.py:
define_macros.append( ('SQLITE_OMIT_LOAD_EXTENSION', '1') )

We had discovered this line of reasoning earlier, but we must have made a
mistake in making the adjustment. Thanks for the prompting. We now have a
properly-compiled apsw module.

Norm.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to