-
Hello,
After intalling raspell my rails ap dumps core with:
ruby:/usr/local/lib/ruby/gems/1.8/gems/raspell-1.1/lib/raspell.so: undefined symbol 'new_aspell_config'
lazy binding failed!
This is because libstdc++ and libaspell are not linked into the raspell.so.
The following patch to extconf.rb fixes raspell.so so it works on OpenBSD:
--- extconf.rb.orig Tue Feb 26 12:03:53...
2008-02-26 20:05:10 UTC by face0
-
The file extconf.rb needs to have this line added
dir_config("aspell")
to enable e.g. --with-include-dir=/opt/local/include.
2007-11-16 00:47:04 UTC by brixen
-
Building on a Mac OS X (Intel), the inclusion of raspell.h in each of aspell.c, dictinfo.c, and raspell.c causes cAspell, cAspellError, and cDictInfo to be define multiple times.
I made these changes to raspell.c and raspell.h:
rab:ext $ diff -udb raspell.c{~,}
--- raspell.c~ 2005-08-20 14:51:18.000000000 -0400
+++ raspell.c 2006-11-16 10:15:52.000000000 -0500
@@ -1,4 +1,5 @@...
2006-11-16 15:17:59 UTC by rabiedenharn
-
Anonymous committed patchset 1 of module CVSROOT to the raspell CVS repository, changing 11 files.
2002-09-02 14:12:50 UTC by nobody
-
registered the raspell project.
2002-09-02 09:01:25 UTC by