question
Closed this issue · 1 comments
I almost finished modifying the code for my new project.
there's a compiling error on mac:
"ld: warning: ignoring file /Users/Qixin/Dropbox/varmodel2/sqlite3/sqlite3.o, file was built for unsupported file format ( 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ) which is not the architecture being linked (x86_64): /Users/Qixin/Dropbox/varmodel2/sqlite3/sqlite3.o
Undefined symbols for architecture x86_64:
.......
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
"
I haven't tried on midway yet. Do you know how I can quickly solve it on mac?
I want to do some tests on my laptop and lab computer first. Thanks!
@edbaskerville
Apologies, I missed this one in the midst of travel...
Did you figure this out? I suspect the problem is that you copied the files from a Linux machine to a Mac rather than doing a clean checkout?
sqlite3.o is created by build.py for the platform you're building on; it's the binary for the SQLite library. So you can just delete it and re-build.
I'll create an issue to move it into build/ so you can just do rm -r build
when you want a clean build.