Bug #13636 Updated: configure doesn't find librecode
| From: | arne at dome dot net dot tw | Date: | Tue, 06 Nov 2001 01:58:11 +0000 |
| Subject: | Bug #13636 Updated: configure doesn't find librecode | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-69673@lists.php.net to get a copy of this message | ||
ID: 13636
User updated by: arne@dome.net.tw
Reported By: arne@dome.net.tw
Old Status: Feedback
Status: Open
Bug Type: Recode related
Operating System: FreeBSD 4.1-RELEASE
PHP Version: 4.0.6
New Comment:
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...
Previous Comments:
------------------------------------------------------------------------
[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@dome.net.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
------------------------------------------------------------------------
[2001-10-11 21:01:00] arne@dome.net.tw
config.log says:
[...]
configure:44401: checking for recode support
configure:44483: gcc -o conftest -g -O2 -DSUPPORT_UTF8 -L/usr/local/lib conftest.c -lgd -lcrypt
-lm -lrecode 1>&5
/usr/local/lib/librecode.so: undefined reference to `error'
configure: failed program was:
#line 44472 "configure"
#include "confdefs.h"
char *program_name;
int main() {
recode_format_table();
; return 0; }
what does this mean?
------------------------------------------------------------------------
[2001-10-11 13:30:40] sniper@php.net
Check config.log for possible error why the linking
failed. It's not likely to be recode which fails here.
--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/?id=13636
Edit this bug report at http://bugs.php.net/?id=13636&edit=1