0.5 branch build failing
Hi folks, I am getting a build failure related to the sqlite dynamic lib file which is confusing me, is there a specific version of sqlite needed for compatibility? I tried copying an older version of libsqlite3.0.dylib into /usr/local/lib with the same result. Here is my build output: http://gist.github.com/133671 Thanks folks! Paul
Hi Paul, The problem here is that you seem to have installed a custom non- universal version of sqlite3 in your system, in /usr/local/lib, and MacRuby tries to link against this one and not the system one (because /usr/local/lib in before /usr/lib in the linker path). MacRuby does not directly depend on sqlite3 but I guess Foundation wants it for CoreData. It's definitely not a good idea to try using a version different than the system one in this scenario. I don't really know how to fix this problem without removing the /usr/ local/lib file(s), temporarily, and try to rebuild MacRuby again. Good luck! Laurent On Jun 21, 2009, at 3:01 PM, Paul wrote:
Hi folks,
I am getting a build failure related to the sqlite dynamic lib file which is confusing me, is there a specific version of sqlite needed for compatibility? I tried copying an older version of libsqlite3.0.dylib into /usr/ local/lib with the same result.
Here is my build output: http://gist.github.com/133671
Thanks folks!
Paul
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
I wonder if setting LD_LIBRARY_PATH may help you? (Sorry, not at a place that I can test this out right now) --Keenan On Jun 21, 2009, at 11:31 PM, Laurent Sansonetti wrote:
Hi Paul,
The problem here is that you seem to have installed a custom non- universal version of sqlite3 in your system, in /usr/local/lib, and MacRuby tries to link against this one and not the system one (because /usr/local/lib in before /usr/lib in the linker path). MacRuby does not directly depend on sqlite3 but I guess Foundation wants it for CoreData. It's definitely not a good idea to try using a version different than the system one in this scenario.
I don't really know how to fix this problem without removing the / usr/local/lib file(s), temporarily, and try to rebuild MacRuby again.
Good luck!
Laurent
On Jun 21, 2009, at 3:01 PM, Paul wrote:
Hi folks,
I am getting a build failure related to the sqlite dynamic lib file which is confusing me, is there a specific version of sqlite needed for compatibility? I tried copying an older version of libsqlite3.0.dylib into /usr/ local/lib with the same result.
Here is my build output: http://gist.github.com/133671
Thanks folks!
Paul
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
participants (3)
-
Keenan Brock
-
Laurent Sansonetti
-
Paul