On 2010-03-17 10:27:45 -0500, Will Rutherdale (rutherw) wrote:
> > -----Original Message-----
> > From: Peter J. Holzer [mailto:[email protected]] 
> > On 2010-03-16 17:14:32 -0500, Will Rutherdale (rutherw) wrote:
> > > Also, the DBD-SQLite package has a funny description:
> > > "Self-contained RDBMS in a DBI Driver".  This doesn't mean that
> > > DBD-SQLite re-implements all of SQLite, does it?
> > 
> > No. It doesn't reimplement it, it just bundles it.
> > 
> > > Or does it just mean that it is the Driver for
> > > the "Self-contained RDBMS" of SQLite?
> > 
> > No. The drivers includes an SQLite version and will ignore any other
> > version which may already be installed on the system.
> > 
> Interesting.  In embedded systems there is often a lot of fighting over
> flash space, and if people are using SQLite then it has already been
> installed somewhere.
> 
> Is there any way to get the driver to use the existing SQLite and to
> avoid the cost of installing the extra one that comes with DBD-SQLite?

Almost certainly yes.

In fact on Debian, libdbd-sqlite3-perl doesn't contain another copy of
libsqlite3.so but reuses the lib from libsqlite3-0. If it isn't obvious
how to do that from DBD::SQLite you may want to have a look at the
Debian package.

        hp


-- 
   _  | Peter J. Holzer    | Auf jedem Computer sollte der Satz Ludwigs II
|_|_) | Sysadmin WSR       | eingeprägt stehen: "Ein ewig Rätsel will ich
| |   | [email protected]      | bleiben, mir und andern."
__/   | http://www.hjp.at/ |    -- Wolfram Heinrich in desd

Attachment: signature.asc
Description: Digital signature

Reply via email to