php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26567 ld: Undefined symbols using --with-pspell=/sw
Submitted: 2003-12-09 16:39 UTC Modified: 2003-12-09 18:14 UTC
From: goose23 at spu dot edu Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4CVS-2003-12-9 OS: Mac OS X
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: goose23 at spu dot edu
New email:
PHP Version: OS:

 

 [2003-12-09 16:39 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-12-09 18:14 UTC] sniper@php.net
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..

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 18 15:01:27 2024 UTC