Recent

Author Topic: Hunspell path missing  (Read 682 times)

QEnnay

  • Full Member
  • ***
  • Posts: 115
Hunspell path missing
« on: July 08, 2020, 11:07:38 pm »
Linux Mint 20.0, Lazarus 2.0.8

Hi, It's been 10-years since I had a new PC and have just bought a new laptop. I have forgotten how to install Hunspell for my programs to find it.

I get an error message about "cannot find the hunspell folder." The programs were compiled on the old PC with this identical setup for Folders and Files so it should be where it was. It was a direct copy, but I suspect it may be looking for a .so file somewhere.

Do I need tor re-compile then entire range of programs that use it, or is there some way to let hunspell know where it is supposed to look?

Thanks
Linux-Mint 20.1 x64 + Cinnamon; Lenovo Flex 5 Ryzen 5 4500, 16GB memory
FPC: 3.2.0-1, Lazarus 2.0.12-0, all 64bit

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11445
  • FPC developer.
Re: Hunspell path missing
« Reply #1 on: July 08, 2020, 11:18:37 pm »
If your programs try to load hunspell dynamically (with unit dynlibs' loadlibrary/getprocaddress or with dlload/dlsym), then you can try to find out where it looks with strace.

QEnnay

  • Full Member
  • ***
  • Posts: 115
Re: Hunspell path missing
« Reply #2 on: July 09, 2020, 12:43:45 am »
Thanks, but I solved the problem, it was looking for an older version in my compiled programs so I had to recompile all the stuff.
Linux-Mint 20.1 x64 + Cinnamon; Lenovo Flex 5 Ryzen 5 4500, 16GB memory
FPC: 3.2.0-1, Lazarus 2.0.12-0, all 64bit

 

TinyPortal © 2005-2018