[fpc-devel]Re: problem with sqlite test program

Michael Van Canneyt michael.vancanneyt at wisa.be
Mon Jan 26 09:34:33 CET 2004


On Sun, 25 Jan 2004, Matt Henley wrote:

> Michael,
>
> I am still trying to get sqlite working under fpc (and lazarus).  I got
> the package to compile under fpc.  I also compiled the test program.
> When I run ./test I get:
>
> matt at snoopy sqlite $ ./test
> Creating class
> Inconsistency detected by ld.so: dl-minimal.c: 134: realloc: Assertion
> `ptr == alloc_last_block' failed!

put cmem as the first unit of your program, that will solve the problem.
I will put this in the README file, because you're not the only one with
this problem.

Michael.




More information about the fpc-devel mailing list