Re: spell checking



On 2001-07-10 16:47 Brian Stafford wrote:
> for this to happen.  As I understand it, lt_dlopen() requires a
> filename with an explicit suffix and does not search for alternatives.

Yes, libpspell_aspell.la is passed as the filename with explicit suffix
'.la'.

Relevant part of pspell-.12.2/interface/manager_impl.cc:new_pspell_manager_class()
is

#ifdef USE_LTDL
  int s = lt_dlinit();
  assert(s == 0);
  PspellString libname;
  libname  = LIBDIR "/libpspell_";
  libname += name;
  libname += ".la";
  lt_dlhandle h = lt_dlopen (libname.c_str());
  if (h == 0)
    return (new PspellCanHaveErrorImpl())
      ->set_error(cant_load_module, name.c_str());

/Pawel
-- 
Pawel Salek (pawsa@theochem.kth.se) http://www.theochem.kth.se/~pawsa/
Theoretical Chemistry Division, KTH voice: +46 8 790-8202




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]