Bug 431981 - spell check - enchant does not load due to undefined symbol from hunspell
spell check - enchant does not load due to undefined symbol from hunspell
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: enchant (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Marc Maurer
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-08 03:26 EST by ritz
Modified: 2008-02-11 07:46 EST (History)
0 users

See Also:
Fixed In Version: 1:1.3.0-4.fc9
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-02-11 07:46:59 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
remove the internal hunspell files (98.88 KB, application/x-gzip)
2008-02-08 04:31 EST, ritz
no flags Details

  None (edit)
Description ritz 2008-02-08 03:26:08 EST
Description of problem:
$ gedit 

** (gedit:7927): WARNING **: Error loading plugin:
/usr/lib/enchant/libenchant_myspell.so: undefined symbol: _ZN8Hunspell5spellEPKc


Version-Release number of selected component (if applicable):
hunspell-1.2.1-4.fc9.i386
enchant-1.3.0-3.fc9.i386

How reproducible:
always

Steps to Reproduce:
1. enable spell check in gedit
  
Actual results:
as mentioned above

Expected results:
spell check should work

Additional info:
Comment 1 ritz 2008-02-08 03:36:15 EST
temporary workaround - to use enchant-aspell backend.
rebuilding enchant on my system with against aboe mentioned hunspell package
does not help :(
Comment 2 ritz 2008-02-08 04:14:11 EST
odd.

$ objdump -T  /usr/lib/libhunspell.so.1|grep -i _ZN8Hunspell5spellEPKc
0001e7d0 g    DF .text	00000f43  Base        _ZN8Hunspell5spellEPKcPiPPc

$ ldd /usr/lib/enchant/libenchant_myspell.so|grep hun
	libhunspell.so.1 => /usr/lib/libhunspell.so.1 (0x001f9000)

it seems enchant is still using the internal copy of hunspell build. The symbol
spell has changed between the two releases of hunspell.

from 
  int spell(const char *);
to
  int spell(const char * word, int * info = NULL, char ** root = NULL);
Comment 3 ritz 2008-02-08 04:31:57 EST
Created attachment 294328 [details]
remove the internal hunspell files

remove the below listed file for good

affentry.cxx	
affentry.hxx	
affixmgr.cxx	
affixmgr.hxx	
atypes.hxx	
baseaffix.hxx	
csutil.cxx	
csutil.hxx	
dictmgr.cxx	
dictmgr.hxx	
hashmgr.cxx	
hashmgr.hxx	
htypes.hxx	
hunspell.cxx	
hunspell.dsp	
hunspell.hxx	
langnum.hxx	
license.hunspell	
license.myspell 
license.readme	
suggestmgr.cxx	
suggestmgr.hxx	
utf_info.cxx
Comment 4 ritz 2008-02-08 04:35:45 EST
Comment on attachment 294328 [details]
remove the internal hunspell files

patch file

Note You need to log in before you can comment on or make changes to this bug.