Of course, it could also be because the default build (depending on which one 
you are using) have the json extension already loaded (compiled in).

see

pragma compile_options;

and if one of the returned options is ENABLE_JSON, then the extension is 
already loaded in the core ...


> -----Original Message-----
> From: sqlite-users [mailto:sqlite-users-boun...@mailinglists.sqlite.org]
> On Behalf Of Mark Woodward
> Sent: Tuesday, 27 September, 2016 09:22
> To: 'sqlite-users@mailinglists.sqlite.org'
> Subject: [sqlite] json1 as loadable extension
> 
> Hi all,
> 
> 
> 
> I've built the JSON1 module as a loadable extension, and this loads fine
> if I also compile sqlite myself. This is on windows as x86 (32 bit).
> 
> 
> 
> I cannot get any pre built version of sqlite3.dll to load the extension, I
> get "'error during initialization: '" with no subsequent message. (Tried
> the sqlite.org binary and Microsoft package).
> 
> 
> 
> The funny thing is that I can compile other extensions in exactly the same
> way and they load fine, (tried csv).
> 
> 
> 
> Unfortunately I can't get a debugger at this because any version I build
> loads the extension fine, and obviously pre built versions do not have
> symbols.
> 
> 
> 
> This seems similar to the following SO question
> http://stackoverflow.com/questions/39319280/python-sqlite-json1-load-
> extension.
> 
> 
> 
> Thanks for any help.
> 
> 
> 
> Mark
> 
> ________________________________________
> Follow Us:   LinkedIn   |   Google+   |   Twitter   |   Facebook
> 
> Chemring EOD Limited, Ordnance House, Blackhill Road, Holton Heath, Poole,
> Dorset BH16 6LW, United
> Kingdom.  Part of the Chemring Group. Registered in England & Wales at:
> Roke Manor, Old Salisbury Lane,
> Romsey, Hampshire, SO51 0ZN, England. Registered No: 01528540
> http://www.chemringts.com
> 
> ________________________________________
> The information contained in this e-mail and any attachments is
> proprietary to Chemring EOD Limited and
> must not be passed to any third party without permission. This
> communication is for information only and shall
> not create or change any contractual relationship.
> ________________________________________
> 
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@mailinglists.sqlite.org
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users



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

Reply via email to