473,729 Members | 2,150 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2446
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**********@t obyinkster.co.u k> wrote in message
news:59******** ****@ophelia.g5 n.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**********@t obyinkster.co.u k> wrote in message
news:6o******** ****@ophelia.g5 n.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
1755
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, debug=0, thread-safety=0 These options need to match Tried changing on of the Path variables away from PHP4 but to no avail :-((.
6
1331
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. http://prototype.conio.net/ Any ideas?
0
1306
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 Excel to the worksheet I want to import and then running the code but it didn't work. I have posted the code in case anyone can spot my error. ---Code Start---- 33230 On Error GoTo CmdOK_Click_Error
3
1496
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 have 2002 Dev Edition, but would like something a little more configurable and a little more reliable when it comes to dependancies. Any input would be appreciated.
3
2277
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 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnie55/html/printtemplate2.asp I didn't understand much of it? I googled in order to find any simples examples? but i coulnd't...
8
2057
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 bbsPort As Rs232 = New Rs232 With bbsPort .BaudRate = baud .DataBit = dataBits .Parity = parity .Port = comPort
0
1433
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
1469
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 like: public static LaborRateDataMapper LaborRateDM; static ApplicationManager() { LaborRateDM = new LaborRateDataMapper();
8
2170
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
8913
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8761
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9426
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9280
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
6016
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4795
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3238
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2677
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2162
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.