Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX: Duplicate incompatible versions of sqlite #93

Open
jonnor opened this issue Jul 22, 2016 · 4 comments
Open

OSX: Duplicate incompatible versions of sqlite #93

jonnor opened this issue Jul 22, 2016 · 4 comments

Comments

@jonnor
Copy link
Member

jonnor commented Jul 22, 2016

When installing as per the README on Mac OSX one gets an error like

chmod +x /Users/vilson/repos/imgflo/install/env.sh
dyld: Symbol not found: _sqlite3_intarray_bind
  Referenced from: /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
  Expected in: /Users/vilson/repos/imgflo/install/lib/libsqlite3.dylib
 in /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
dyld: Symbol not found: _sqlite3_intarray_bind
  Referenced from: /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
  Expected in: /Users/vilson/repos/imgflo/install/lib/libsqlite3.dylib
 in /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
/Users/vilson/repos/imgflo/install/env.sh gcc -o ./bin/imgflo bin/imgflo.c -I. -Wall -Werror -std=c99 -g
bin/imgflo.c:5:10: fatal error: 'glib.h' file not found
#include <glib.h>
         ^
1 error generated.
make: *** [imgflo] Error 1
@jonnor
Copy link
Member Author

jonnor commented Jul 22, 2016

This happens because we bundle an sqlite as part of imgflo-dependencies, but this is different from the one used by json-glib installed with Homebrew. I've tried removing it from imgflo-dependencies, but then libsoup build is unable to find sqlite via pkg-config.

@automata Where are the pkg-config files for sqlite on Homebrew located? find /usr -name sqlite3.pc

@automata
Copy link
Member

@jonnor:

macbook:imgflo vilson$ find /usr -name sqlite3.pc
/usr/local/Cellar/sqlite/3.12.2/lib/pkgconfig/sqlite3.pc
/usr/local/Cellar/sqlite/3.13.0/lib/pkgconfig/sqlite3.pc
/usr/local/Cellar/sqlite/3.8.10.1/lib/pkgconfig/sqlite3.pc
/usr/local/Cellar/sqlite/3.8.7.1/lib/pkgconfig/sqlite3.pc
/usr/local/Library/Homebrew/os/mac/pkgconfig/10.10/sqlite3.pc
/usr/local/Library/Homebrew/os/mac/pkgconfig/10.11/sqlite3.pc
/usr/local/Library/Homebrew/os/mac/pkgconfig/10.12/sqlite3.pc
/usr/local/Library/Homebrew/os/mac/pkgconfig/10.6/sqlite3.pc
/usr/local/Library/Homebrew/os/mac/pkgconfig/10.7/sqlite3.pc
/usr/local/Library/Homebrew/os/mac/pkgconfig/10.8/sqlite3.pc
/usr/local/Library/Homebrew/os/mac/pkgconfig/10.9/sqlite3.pc

@jonnor
Copy link
Member Author

jonnor commented Jul 25, 2016

What a mess...Will need to find/use the one pulled in by json-glib...

@jonnor
Copy link
Member Author

jonnor commented Jul 27, 2016

Looks like it currently is Pouring sqlite-3.8.7.mavericks.bottle.tar.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants