[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Non-aligned pointer errors on Mac OS X
- From: Scott Weeks <scott@...>
- Date: Sat, 26 Jan 2008 00:25:38 +1100
I have the same error when running 'make test' with lsqlite3 on
I have installed lua and sqlite3 using Macports. How did you install
May I also ask how did you compile lsqlite3 ?
On Leopard it's often best to link against the sqlite3 that comes with
the OS. Try uninstalling the macports sqlite3 and recompiling. I had
some issues on Tiger with sqlite3 where I had to statically compile
against my installed version of sqlite3 rather than the one that came
with the OS.
My Non-aligned pointer errors went away when I started statically
linking my lua C extensions against a single copy of liblua.a
Hope that helps, it's late here so I might not be making much sense ;-)