Spelling on Ubuntu 12.04 64 bit

ka
karl
Posts: 73
Joined: Mon Feb 07, 2011 12:54 pm
Platform: Mac

Sat Apr 28, 2012 10:13 pm Post

Hi, i've just upgraded to Ubuntu 12.04 64 bit. To get spelling working on 64 bit I used to put the libaspell15 and libaspell-dev 3 bit libraries in usr/lib32. But the new Ubuntu doesn't have a usr/lib32 directory. I've tried putting them in usr/share/scrivener/lib (which is where the .deb installs scrivener to) but still no spelling. Anybody have any ideas?
Thanks. Karl.

User avatar
RobHamm
Posts: 126
Joined: Fri Jan 21, 2011 8:20 pm
Platform: Linux
Location: Lawrence, KS, U.S.A.
Contact:

Sun Apr 29, 2012 1:33 am Post

karl wrote:Hi, i've just upgraded to Ubuntu 12.04 64 bit. To get spelling working on 64 bit I used to put the libaspell15 and libaspell-dev 3 bit libraries in usr/lib32. But the new Ubuntu doesn't have a usr/lib32 directory. I've tried putting them in usr/share/scrivener/lib (which is where the .deb installs scrivener to) but still no spelling. Anybody have any ideas?
Thanks. Karl.

Try this: http://www.robhamm.com/legacy/primary-c ... ux-29-beta
-Rob
An Experimental Life (my home page)
Read me at Daily Science Fiction
The Crimson Pact Anthology, volume 2
"This is an experimental life. Press any key to continue. Press any other key to explode."

ka
karl
Posts: 73
Joined: Mon Feb 07, 2011 12:54 pm
Platform: Mac

Sun Apr 29, 2012 7:50 am Post



Thanks Rob. I already tried getlibs (should have said) but it doesn't work. The link on your site is broken but I managed to get them from the Ubuntu libraries site. The problem with getlibs is it tries to install the libraries to /usr/lib32 which doesn't exist any more. As I said I've got the 32 bit libraries, but they don't seem to do anything if I put them in the Scrivener lib folder (if I have put then in the right place). Karl.

na
nathanzal
Posts: 108
Joined: Fri Jul 08, 2011 10:43 am
Platform: Windows

Mon Apr 30, 2012 8:23 pm Post

If you haven't already by, why not start by installing ia32_libs--this will pull down the multiarch versions of the libraries. (that's why there's no longer a "lib32" directory) After that Scrivener, incidentally, installs cleanly (and runs) without "--force-architecture."

Did you try moving the 64 bit libaspell15 and libaspell-dev libraries someplace and putting the 32 bit ones in their place? Scrivener might be looking there first, though that would probably break anything else that uses it. Just a thought. Or you might look at $LD_LIBRARY_PATH in your shell environment. Or you might try to find (or build) multiarch versions of aspell and its libraries.

I'm just running Precise in a VM for the moment; I'm going to wait until the point release to take the plunge since I'm going to need to upgrade from Lucid. Then we'll be in the same boat, mayhap.

Cheers,

Nathan

mc
mcmillan
Posts: 5
Joined: Sat Apr 14, 2012 5:59 am
Platform: Linux

Tue May 01, 2012 7:20 am Post

I haven't run ubuntu in a few years, and have no idea how getlibs works, but why not just make the /usr/lib32 directory yourself? If .deb packages work the same way Arch ones do, that's pretty much what installing a package would do, unless there's other things in ia32_libs that are needed to run (which is possible)

Also while trying to create an Arch lib32-aspell package I discovered there's a bit of trickery I needed to get it to find the dictionaries, which install in the 64-bit /usr/lib/ and the I only managed to get it to work by relying on some files from the regular 64-bit version as well. There might be a similar issues going on for you, which could be why it still wasn't working when you just put it in the scrivener directory. It needs a bit of cleaning, but you can get a sense of how I built it from source from my request for comments on the Arch forums https://bbs.archlinux.org/viewtopic.php?id=140093 (if you have questions post here rather than there, we have a pretty strict Arch-only policy on our forums)

Did you try moving the 64 bit libaspell15 and libaspell-dev libraries someplace and putting the 32 bit ones in their place? Scrivener might be looking there first, though that would probably break anything else that uses it.

Yeah, that seems like a good way to break aspell for any other programs, don't do that for anything other than a temporary test

ka
karl
Posts: 73
Joined: Mon Feb 07, 2011 12:54 pm
Platform: Mac

Tue May 01, 2012 11:08 am Post

nathanzal wrote:If you haven't already by, why not start by installing ia32_libs--this will pull down the multiarch versions of the libraries. (that's why there's no longer a "lib32" directory) After that Scrivener, incidentally, installs cleanly (and runs) without "--force-architecture."

Did you try moving the 64 bit libaspell15 and libaspell-dev libraries someplace and putting the 32 bit ones in their place? Scrivener might be looking there first, though that would probably break anything else that uses it. Just a thought. Or you might look at $LD_LIBRARY_PATH in your shell environment. Or you might try to find (or build) multiarch versions of aspell and its libraries.

I'm just running Precise in a VM for the moment; I'm going to wait until the point release to take the plunge since I'm going to need to upgrade from Lucid. Then we'll be in the same boat, mayhap.

Cheers,

Nathan


One of the first things I did after installing 12.04 was to install ia32-libs. I installed Scrivener after that and as you say, it can be done through the software center.
No I didn't move anything around. As you say it would probably break stuff.
Thanks for your help.

ka
karl
Posts: 73
Joined: Mon Feb 07, 2011 12:54 pm
Platform: Mac

Tue May 01, 2012 11:12 am Post

mcmillan wrote:I haven't run ubuntu in a few years, and have no idea how getlibs works, but why not just make the /usr/lib32 directory yourself? If .deb packages work the same way Arch ones do, that's pretty much what installing a package would do, unless there's other things in ia32_libs that are needed to run (which is possible)

Also while trying to create an Arch lib32-aspell package I discovered there's a bit of trickery I needed to get it to find the dictionaries, which install in the 64-bit /usr/lib/ and the I only managed to get it to work by relying on some files from the regular 64-bit version as well. There might be a similar issues going on for you, which could be why it still wasn't working when you just put it in the scrivener directory. It needs a bit of cleaning, but you can get a sense of how I built it from source from my request for comments on the Arch forums https://bbs.archlinux.org/viewtopic.php?id=140093 (if you have questions post here rather than there, we have a pretty strict Arch-only policy on our forums)

Did you try moving the 64 bit libaspell15 and libaspell-dev libraries someplace and putting the 32 bit ones in their place? Scrivener might be looking there first, though that would probably break anything else that uses it.

Yeah, that seems like a good way to break aspell for any other programs, don't do that for anything other than a temporary test


Tried making a usr/lib32 directory and putting the libs in there but no joy :( Thanks for your help.

sj
sjd25
Posts: 3
Joined: Sun May 06, 2012 11:46 am
Platform: Linux

Sun May 06, 2012 11:50 am Post

Hello. I am much more of an amateur than y'all but I'm having the same spellcheck problem with Scrivener in Ubunti 12.04 32 bit. Any suggestions of how to remedy my ailment would be most welcomed. Thanks

sj
sjd25
Posts: 3
Joined: Sun May 06, 2012 11:46 am
Platform: Linux

Sun May 06, 2012 11:58 am Post

Ignore me. Problem solved it seems. Thanks