473,383 Members | 1,829 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

desparate - has anyone installed/used "aspell"?

I have tried for several days to install and use aspell. I easily installed
on my development computer which is Windows XP.

I am trying to get it to run on a linux box now and am getting to the point
to tell the client, it just can't be done.

It seems I am almost there but can't get it all the way.

For my latest test of the pre-compiled version I found contains three
cirectories:
/bin/
/lib/
/share/

I have those to:
/usr/local/bin/aspell/bin/
/usr/local/bin/aspell/lib/
/usr/local/bin/aspell/share/

In my php code, I reference:
$aspell_prog = '/usr/local/bin/aspell/bin/aspell';

The error I am getting is:
Quote:
Error executing '/usr/local/bin/aspell/bin/aspell -a --lang=en_US
(...)
/usr/local/bin/aspell/bin/aspell: error while loading shared
libraries: libaspell.so.15: cannot open shared object file: no such file or
directory

The file, libaspell.so.15, is in the /usr/local/bin/aspell/lib/ directory.

I am using a pre-compiled version because I do not have compile capabilities
on my host.

It might be permissions set incorrectly or something else I do not know
about. I am a relative linux newbie so if you can help, please provide some
instructions.

I can not thank you enough for any help - again I am desparate!
May 17 '06 #1
5 2429
Yeah, give up. I did - and now I'm a much happier person.

Who needs spelling, anyway?

May 17 '06 #2
Notgiven wrote:
The file, libaspell.so.15, is in the /usr/local/bin/aspell/lib/ directory.


This is a very unusual place to install aspell -- you'd probably have more
luck installing aspell through your distribution's packaging system which
would place it in a more normal location.

That said, your problem is that aspell doesn't know where to find its
library file. To fix this, add "/usr/local/bin/aspell/lib/" to
"/etc/ld.so.conf" (the syntax of that file is pretty self-explanatory) and
then run "ldconfig". You'll need to do this as root.

However, even after fixing this problem you may encounter other troubles
caused by installing aspell into such a wierd place. Better to just delete
it and re-install it via your package manager.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

May 17 '06 #3
"Toby Inkster" <us**********@tobyinkster.co.uk> wrote in message
news:59************@ophelia.g5n.co.uk...
Notgiven wrote:
The file, libaspell.so.15, is in the /usr/local/bin/aspell/lib/
directory.


This is a very unusual place to install aspell -- you'd probably have more
luck installing aspell through your distribution's packaging system which
would place it in a more normal location.

That said, your problem is that aspell doesn't know where to find its
library file. To fix this, add "/usr/local/bin/aspell/lib/" to
"/etc/ld.so.conf" (the syntax of that file is pretty self-explanatory) and
then run "ldconfig". You'll need to do this as root.

However, even after fixing this problem you may encounter other troubles
caused by installing aspell into such a wierd place. Better to just delete
it and re-install it via your package manager.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact


I agree but this host runs redhat enterprise and does NOT allow access to
run rpm. I was able to edit the conf and run ldconfig

$ ldconfig
ldconfig: File /lib/libaspell.so is too small, not checked.
ldconfig: File /lib/libaspell.so.15 is too small, not checked.
ldconfig: File /lib/libpspell.so is too small, not checked.
ldconfig: File /lib/libpspell.so.15 is too small, not checked.
ldconfig: /lib/libpspell.so.15 is not a symbolic link
ldconfig: /lib/libaspell.so.15 is not a symbolic link
ldconfig: File /usr/local/bin/aspell/lib/libaspell.so is too small, not
checked.
ldconfig: File /usr/local/bin/aspell/lib/libaspell.so.15 is too small, not
checked.
ldconfig: File /usr/local/bin/aspell/lib/libpspell.so is too small, not
checked.
ldconfig: File /usr/local/bin/aspell/lib/libpspell.so.15 is too small, not
checked.
ldconfig: /usr/local/bin/aspell/lib/libpspell.so.15 is not a symbolic link
ldconfig: /usr/local/bin/aspell/lib/libaspell.so.15 is not a symbolic link

Any ideas?
May 17 '06 #4
Notgiven wrote:
I agree but this host runs redhat enterprise and does NOT allow access to
run rpm.
Given that they seem to allow you root access, this seems quite an
arbitrary restriction. Have you tried asking *them* to install the aspell
RPM for you? After all, you are paying them, and it would only take a
couple of minutes to do what it's taking you days.
File /usr/local/bin/aspell/lib/libaspell.so is too small, not
checked.


For what it's worth, my libaspell/libpspell libraries are these sizes:

[tai@ophelia (pts/1) ~]$ aspell --version
@(#) International Ispell Version 3.1.20 (but really Aspell 0.50.5)
[tai@ophelia (pts/1) ~]$ ls -al /usr/lib/lib?spell* /usr/lib/libpspell*
-rwxr-xr-x 1 root root 791 Dec 20 2004 /usr/lib/libaspell.la
lrwxrwxrwx 1 root root 19 Jan 31 2005 /usr/lib/libaspell.so -> libaspell.so.15.0.3
lrwxrwxrwx 1 root root 19 Jan 31 2005 /usr/lib/libaspell.so.15 -> libaspell.so.15.0.3
-rwxr-xr-x 1 root root 640032 Dec 20 2004 /usr/lib/libaspell.so.15.0.3
-rwxr-xr-x 1 root root 1259 May 9 2005 /usr/lib/libkspell.la
lrwxrwxrwx 1 root root 18 Jun 5 2005 /usr/lib/libkspell.so.4 -> libkspell.so.4.2.0
-rwxr-xr-x 1 root root 3612 May 9 2005 /usr/lib/libkspell.so.4.2.0
-rwxr-xr-x 1 root root 813 Dec 20 2004 /usr/lib/libpspell.la
lrwxrwxrwx 1 root root 19 Jan 31 2005 /usr/lib/libpspell.so -> libpspell.so.15.0.3
lrwxrwxrwx 1 root root 19 Jan 31 2005 /usr/lib/libpspell.so.15 -> libpspell.so.15.0.3
-rwxr-xr-x 1 root root 3044 Dec 20 2004 /usr/lib/libpspell.so.15.0.3

Obviously yours will probably be slightly different sizes, but
assuming you're using an x86 processor, yours should be in the same
general area.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
May 18 '06 #5
"Toby Inkster" <us**********@tobyinkster.co.uk> wrote in message
news:6o************@ophelia.g5n.co.uk...
Notgiven wrote:
I agree but this host runs redhat enterprise and does NOT allow access to
run rpm.


Given that they seem to allow you root access, this seems quite an
arbitrary restriction. Have you tried asking *them* to install the aspell
RPM for you? After all, you are paying them, and it would only take a
couple of minutes to do what it's taking you days.


I asked and they will not - they are a huge host and do not take on these
tasks unfortunately.
File /usr/local/bin/aspell/lib/libaspell.so is too small, not
checked.


For what it's worth, my libaspell/libpspell libraries are these sizes:

[tai@ophelia (pts/1) ~]$ aspell --version
@(#) International Ispell Version 3.1.20 (but really Aspell 0.50.5)
[tai@ophelia (pts/1) ~]$ ls -al /usr/lib/lib?spell* /usr/lib/libpspell*
-rwxr-xr-x 1 root root 791 Dec 20 2004 /usr/lib/libaspell.la
lrwxrwxrwx 1 root root 19 Jan 31 2005 /usr/lib/libaspell.so ->
libaspell.so.15.0.3
lrwxrwxrwx 1 root root 19 Jan 31 2005 /usr/lib/libaspell.so.15 ->
libaspell.so.15.0.3
-rwxr-xr-x 1 root root 640032 Dec 20 2004 /usr/lib/libaspell.so.15.0.3
-rwxr-xr-x 1 root root 1259 May 9 2005 /usr/lib/libkspell.la
lrwxrwxrwx 1 root root 18 Jun 5 2005 /usr/lib/libkspell.so.4 ->
libkspell.so.4.2.0
-rwxr-xr-x 1 root root 3612 May 9 2005 /usr/lib/libkspell.so.4.2.0
-rwxr-xr-x 1 root root 813 Dec 20 2004 /usr/lib/libpspell.la
lrwxrwxrwx 1 root root 19 Jan 31 2005 /usr/lib/libpspell.so ->
libpspell.so.15.0.3
lrwxrwxrwx 1 root root 19 Jan 31 2005 /usr/lib/libpspell.so.15 ->
libpspell.so.15.0.3
-rwxr-xr-x 1 root root 3044 Dec 20 2004 /usr/lib/libpspell.so.15.0.3

Obviously yours will probably be slightly different sizes, but
assuming you're using an x86 processor, yours should be in the same
general area.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact


Thanks!! My directory and file sizes looks similar.

Wen I run:
$ aspell -a
aspell: error while loading shared libraries: /lib/libaspell.so.15: file too
short
$ aspell --version
aspell: error while loading shared libraries: /lib/libaspell.so.15: file too
short

/lib/libaspell.so.15 is similar in size to yours.
May 18 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: M | last post by:
Hi Folks I have tried to install PHP 5 onto my Windows XP machine and all I get is: Module compiled with module API=20020429, debug=0, thread-safety=0 PHP compiled with module API=20040316,...
6
by: Geoff Cox | last post by:
Hello, I wonder if anyone has used prototype? Is is a Javascript framework. I am using prototype-1.3.1.js and have a question but so far have not found many people who know about this work. ...
0
by: ColinWard | last post by:
the title is self explanatory. However although I have figured out how to implement the add-in from code, it consistently fails with the message. "There is no active worksheet". I tried opening...
3
by: Jozef | last post by:
Hello, Has anyone here used the Visual Studio 2003 Office Developers Extensions? I'm wondering if the package and deployment wizard is any better than it's XP / 2002 counterpart. I already...
3
by: Franck | last post by:
Hello, I'm looking for a way of giving some arguments to the client's printer I've found that link but...
8
by: Terry Olsen | last post by:
I'm trying to use the RS232 class that was in the Platform SDK (i think). Has anyone else used this with events successfully? Here's what i've got: ====================== Public WithEvents...
0
by: system55 | last post by:
This library contains functions about the extended memory specification 3.0 If anyone has used it pls. reply to this post... thank you...
1
by: Randy Smith | last post by:
Hi ALL, Our consultant added the datamapper definitions to our ApplicationManager.cs file. Has anyone else used this technique, and how has it benefited you? Here is what a sample of it looks...
8
Frinavale
by: Frinavale | last post by:
Has anyone every used MVC ASP.NET? I'm thinking of giving it a go and was wondering if anyone has any experience/comments on it?
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.