On Sun, 29 Apr 2007 12:27:44 -0400
Lee Jenkins <[EMAIL PROTECTED]> wrote:

> Lee Jenkins wrote:
> > Lee Jenkins wrote:
> >>
> >> Hi all,
> >>
> >> I had a project successfully building on both Windows and Linux.
> >> I added SQLite support and while everything compiles fine on
> >> Windows, now on the linux box, Lazarus simply says:
> >>
> >> Error: Error while linking
> >>
> >> No descriptions, just that.

There are probably more error messages, but maybe they were skipped
and not shown in the message window. Can you reproduce the issue and
send all messages please? You can get all messages with right click on
messages and use "Save all messages to file". Then I can extend the
filter to show these messages.


> >> Must the SQLite.so be installed on the linux box?  I have it
> >> installed in /lib and I've tried placing it in /usr/lib to no
> >> avail.
> >>
> >> Of course, that could just not be the problem at all.  It's a bit 
> >> difficult to figure out with the above error message that doesn't
> >> give me much to go on.
> >>
> > 
> > Just to verify, I commented out all references to sqlite3ds and 
> > everything builds fine on linux.  So, my assumption is that it is a 
> > problem with sqlite3ds or way that I am trying to build it.
> > 
> > Thanks again for any help,
> 
> Resolved.
> 
> I needed to install the sqlite devel packages on the linux box.
> 
> Which brings me to another question:
> 
> What is the difference between the build process on linux vs. windows 
> that requires that the sqlite development packages be installed?  The 
> only thing I needed on Windows was the single sqlite3.dll file.
> 
> My assumption was that all was needed was the .so file on the linux 
> machine, which was obviously wrong.

The devel package installs the .h files (which FPC does not need) and
sets a link from unspecific .so file to the current .so version. In
short words: It sets a default.


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to