#13636 [Com]: configure doesn't find librecode
| From: | mbr at freebsd dot org | Date: | Mon, 10 Mar 2003 10:58:26 +0000 |
| Subject: | #13636 [Com]: configure doesn't find librecode | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-35249@lists.php.net to get a copy of this message | ||
ID: 13636
Comment by: mbr at freebsd dot org
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:
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
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2001-10-31 19:31:00] sniper@php.net
What does 'ldd librecode.so' output?
What version of recode is this?
How was it compiled?
--Jani
------------------------------------------------------------------------
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