On Mon, Aug 12, 2013 at 11:35 AM, Andrea Aime
<andrea.a...@geo-solutions.it>wrote:

> On Mon, Aug 12, 2013 at 5:37 PM, Justin Deoliveira 
> <jdeol...@opengeo.org>wrote:
>
>> The changes live in my forked copy of the main repository.
>>
>>   https://bitbucket.org/jdeolive/sqlite-jdbc/
>>
>> The customizations are mostly to the make files to pull in spatialite and
>> link against proj and geos. They also contain some code changes that enable
>> an option to trigger the spatialite initialization.
>>
>
> Ah ok, so the driver jar really embeds native libraries for all the
> platforms, and you modified it so that the .so/.dll now embed not only
> libsqlite and the JNI wrappers around it, but also spatialite, GEOS and
> proj?
>

Mostly correct. The built library contains a full static build of sqlite
and spatialite amalgamated. The resulting binary is linked dynamically to
proj and geos. So you need to have proj and geos installed on the system.
The reason we amalgamate the spatialite build rather than dynamically link
to it is to avoid conflicts between the sqlite already installed on the
system and the one bundled internally by xerial.

Thinking about the whole mess it would probably just be easier to strip out
the internal sqlite used by the xerial driver and completely rely on
dynamic linking.

>
>
>>
>> There was some talk a while back with the xerial-jdbc maintainer (Taro)
>> about trying to pull this into the main repo but i am thinking it might be
>> a bit custom. And there is no build support for 64 bit windows builds.
>> Mostly because I didn't want to shell out the money for visual studio
>> professional which seems to be the only real way to compile anything 64 for
>> windows. Although I asked Taro about building for 64 bit windows and he
>> said he successfully has used ming64. I tried but didn't get very trying to
>> incorporate the spatialite bits though.
>>
>
> I see, thanks for the explanations
>
> Cheers
> Andrea
>
> --
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
> information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39  339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> -------------------------------------------------------
>



-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to