Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2004-01

problem with sqlite test program

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Matt Henley

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:

sqlite $ ./test
Creating class
Inconsistency detected by ld.so: dl-minimal.c: 134: realloc: Assertion `ptr == alloc_last_block' failed!

I dont know what this means,except that maybe a piece of memory wasnt allocated when it should have been.

I am running gentoo with sqlite package installed: rh $ locate libsqlite
/usr/lib/libsqlite.a
/usr/lib/libsqlite.so.0.8.6
/usr/lib/libsqlite.so.0
/usr/lib/libsqlite.la
/usr/lib/libsqlite.so
~~~~~snip~~~~~~~~~~

Any ideas?

Reply by email

Michael Van Canneyt
to Matt Henley
Matt Henley wrote 10 lines
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: 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.

Reply by email