#26567 [Opn->Bgs]: ld: Undefined symbols using --with-pspell=/sw
| From: | sniper@php.net | Date: | Tue, 09 Dec 2003 23:14:26 +0000 |
| Subject: | #26567 [Opn->Bgs]: ld: Undefined symbols using --with-pspell=/sw | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-51870@lists.php.net to get a copy of this message | ||
ID: 26567
Updated by: sniper@php.net
Reported By: goose23 at spu dot edu
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Mac OS X
PHP Version: 4CVS-2003-12-9
New Comment:
Apparently your installation of aspell is broken.
(thanks to the aspell author who has been unable to decide whether it
should be called aspell, pspell or aspell..)
See:
http://aspell.sourceforge.net/dist.txt
The compile works fine with RH9 aspell rpms. So I suggest you contact
the person who packaged aspell for macosx to fix the package..
Previous Comments:
------------------------------------------------------------------------
[2003-12-09 16:39:59] goose23 at spu dot edu
Description:
------------
I am attempting to build php on Mac OS X 10.3 with
pspell enabled. I have aspell 0.50.2-10 installed via
fink (package manager version 0.17.1, distribution
version 0.6.2.cvs). This is my configure script:
./configure --with-apxs --with-pspell=/sw
I get these undefined symbols during make:
ld: Undefined symbols:
_aspell_config_replace
_aspell_error_message
_aspell_error_number
_aspell_speller_add_to_personal
_aspell_speller_add_to_session
_aspell_speller_check
_aspell_speller_clear_session
_aspell_speller_error_message
_aspell_speller_error_number
_aspell_speller_save_all_word_lists
_aspell_speller_store_replacement
_aspell_speller_suggest
_aspell_string_enumeration_next
_aspell_word_list_elements
_delete_aspell_config
_delete_aspell_speller
_delete_aspell_string_enumeration
_new_aspell_config
_new_aspell_speller
_to_aspell_speller
make: *** [libs/libphp4.bundle] Error 1
If I add '-laspell -laspell-common -lstdc++' to
'EXTRA_LIBS' in the Makefile, make succeeds. I have
tried this on php-4.3.4 and php4-STABLE-200312092030,
with the same results.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26567&edit=1