From:             goose23 at spu dot edu
Operating system: Mac OS X
PHP version:      4.3.4
PHP Bug Type:     Compile Failure
Bug description:  ld: Undefined symbols using --with-pspell=/sw

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 bug report at http://bugs.php.net/?id=26567&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26567&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26567&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26567&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26567&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26567&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=26567&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=26567&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26567&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26567&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26567&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26567&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26567&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26567&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26567&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26567&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26567&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26567&r=float

Reply via email to