sqlite users?

new topic     » topic index » view thread      » older message » newer message

Hi

Is any body out there using sqlite3?

If so, have you tried downloading the latest library (3.4.2). I believe it may
be broken when being used with euphoria on Linux.

I am currently using the 3.3.6 binary downloaded from the sqlite.org site a
while
back, and wanted to check a very occasional possible updating error in the 
database by updating the library, so I downloaded version 3.4.2, and installed
it in /usr/lib (the same place as 3.3.6), ran ldconfig, adjusted sqlite3.ew,
and tried to run the program again - unfortunately sqlite3.ew reported that
it could not find it.

Checks run

eusqlite3.ew back to sqlite-3.3.6.so - worked again
eusqlite.ew back to sqlite-3.4.2.so - not working.
sqlite-3.4.2.so put into /usr/local/lib, ldconfig run.

The program runs on a 64 bit system - so I ran it on a 32 bit system - 3.3.6
worked, but 3.4.2 did not.

The sqlite3 tool that comes with the package (after compiling the src tree
on the 64 bit system) works.

Tried redirecting eusqlite3.ew to /usr/local/lib/libsqlite3.so, where the
sqlite compilation deposits the .so

If anybody else can run sqlite-3.4.2.so then I would be grateful to know.

However, I believe this brings up an important point. This is one of euphorias
greatest stumbling points - its inability to interface with certain external
libraries.

Why do I have to jump through hoops to try to get a fairly simple lib like
sqlite working? Sometimes it seems like pot luck trying to get a library
working, that clearly works with compiled c programs.

Why is there so little feedback from the routines that call external libraries?

Why is it so complex to interface with C++ dlls?

Why does eu differentiate between calling conventions (the '+'), and rely
on the user to define them - could eu not detect, and modify internally its
calling conventions.

Why can't eu itemise the symbol table in .dlls / .so s, so that they would
become
immediately useable?

I realise these are highly simplistic, and possible some unrealistic musings
but I firmly believe that this is where language development should be
concentrated. Perhaps creating structure types is a first step on easier
library accessibility.

I'm quite frustrated by this. As far as sqlite goes, if they have changed some
compilation method, then in order to allow eusqlite3.ew to run with future
versions, it may either need a rewrite, or stagnate at 3.3.6. And that rewrite
only becomes possible if a NULL isn't returned trying to open the library.

Chris

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu