#13636 [Com]: configure doesn't find librecode
| From: | php_public at macfreek dot nl | Date: | Sun, 15 Jun 2003 21:46:57 +0000 |
| Subject: | #13636 [Com]: configure doesn't find librecode | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-41973@lists.php.net to get a copy of this message | ||
ID: 13636
Comment by: php_public at macfreek dot nl
Reported By: arne at dome dot net dot tw
Status: Bogus
Bug Type: Recode related
Operating System: FreeBSD 4.1-RELEASE
PHP Version: 4.0.6
New Comment:
Just letting you know I've got the same problem, with
Mac OS X (10.2.6), PHP 4.3.2 and Recode 3.6 (3.6-6,
installed using fink). The error I got in config.log:
ld: Undefined symbols: _error
Previous Comments:
------------------------------------------------------------------------
[2003-03-10 04:58:25] mbr at freebsd dot org
I have a fix for this. Please look at:
http://people.freebsd.org/~mbr/patches/patch-php+recode.diff
This is a librecode problem, not a PHP problem.
Martin
------------------------------------------------------------------------
[2001-11-10 04:31:26] sniper@php.net
There is something wrong with your install of recode
libraries and this is not support forum for FreeBSD so
ask them for help on this part. PHP's configure can not
do anything if your system is broken.
------------------------------------------------------------------------
[2001-11-05 20:58:10] arne at dome dot net dot tw
Ok, I tried it this way:
I removed the libraries as requested and tried to configure php again
-> same error like before
Then I tried to compile recode from source (this time without the ports
patches) again, but it failed. Then used the ports directory to
recompile recode successfully.
Then I configured php again -> same error.
BTW: the librarues are librecode.so and librecode.so.3, not
librecode.so.2.
I also tried to make a symbolic link to the library with the suffix
'2', but no success...
------------------------------------------------------------------------
[2001-11-02 02:42:02] sniper@php.net
Seems like there is something wrong with the shared lib.
Try removing those librecode.so and librecode.so.2 files
and try to configure PHP again.
--Jani
------------------------------------------------------------------------
[2001-11-01 03:32:08] arne at dome dot net dot tw
ldd librecode.so says:
librecode.so:
ldd: librecode.so: Exec format error
librecode.so: exit status 1
recode is version 3.6 compiled from the FreeBSD ports directory.
Using recode from the command line works properly.
Meanwhile I updated the OS to FreeBSD 4.4-STABLE.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/13636
--
Edit this bug report at http://bugs.php.net/?id=13636&edit=1