Questions:1. How do I rebuild the native jar on our system to use the olderlibc? Instructions athttps://bitbucket.org/xerial/sqlite-jdbc/overview on the system, thensurgery on the sqlite-jdbc-3.7.15-SNAPSHOT.jar to redo the native .so?
2. How can I be sure this issue won't arise again on systems we shipour product on? As I said, there are probably all sorts of platformsconfigurations. One way might be to build static libraries for eachplatform, so it no longer has dependencies (other than platformitself). Is that possible?
3. What are the barriers to bring back the native Java client?
Thatis a potential solution to #2: if the native library doesn'tinitialize, fall back to pure java. I readLooks like "cumbersome settings" (minor?) and "not keeping up with thelatest features" (more important, but I might rather have old andworking than none).
On Thursday, December 20, 2012 11:53:29 AM UTC-5, Dan F wrote:Questions:1. How do I rebuild the native jar on our system to use the olderlibc? Instructions athttps://bitbucket.org/xerial/sqlite-jdbc/overview on the system, thensurgery on the sqlite-jdbc-3.7.15-SNAPSHOT.jar to redo the native .so?"no surgery" required.Running make is all you need. You find the new jar in the target folder.
2. How can I be sure this issue won't arise again on systems we shipour product on? As I said, there are probably all sorts of platformsconfigurations. One way might be to build static libraries for eachplatform, so it no longer has dependencies (other than platformitself). Is that possible?This needs some more investigation since the shared library is built with the -static-libgcc flag.
On Friday, December 21, 2012 9:09:12 AM UTC-6, grace wrote:
On Thursday, December 20, 2012 11:53:29 AM UTC-5, Dan F wrote:Questions:1. How do I rebuild the native jar on our system to use the olderlibc? Instructions athttps://bitbucket.org/xerial/sqlite-jdbc/overview on the system, thensurgery on the sqlite-jdbc-3.7.15-SNAPSHOT.jar to redo the native .so?"no surgery" required.Running make is all you need. You find the new jar in the target folder.I ran it on Ubuntu 10.04 and got it to work with the sun jdk (not openjdk at that time). (For my future reference: http://superuser.com/a/439915/56544).How does it work that the windows and OS X libraries are put into that jar if I'm compiling on Linux? Does it pull them from somewhere, cross-compile, or hidden option c?
2. How can I be sure this issue won't arise again on systems we shipour product on? As I said, there are probably all sorts of platformsconfigurations. One way might be to build static libraries for eachplatform, so it no longer has dependencies (other than platformitself). Is that possible?This needs some more investigation since the shared library is built with the -static-libgcc flag.I will try removing the -shared flag if my testing shows we want to proceed. I will report back if I learn anything.
Thanks for your help.
I grabbed sqlite-jdbc-3.7.15-SNAPSHOT.jar on the website, tried it onone of our servers, and got: