ID: 13636
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: Recode related
Operating System: FreeBSD 4.1-RELEASE
PHP Version: 4.0.6
New Comment:

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


Previous Comments:
------------------------------------------------------------------------

[2001-11-01 03:32:08] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

What does 'ldd librecode.so' output?
What version of recode is this?
How was it compiled?

--Jani


------------------------------------------------------------------------

[2001-10-11 21:01:00] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

Check config.log for possible error why the linking 
failed. It's not likely to be recode which fails here.

--Jani


------------------------------------------------------------------------

[2001-10-10 23:23:14] [EMAIL PROTECTED]

recode is installed from ports in /usr/local/

contents of /usr/local/lib:
librecode.a
librecode.so
librecode.so.3

contents of /usr/local/include:
recode.h
recodext.h

./configure --with-recode --with-mysql --with-apache=../apache_1.3.20 --with-gd 
--enable-track-vars

says:

[...]
checking for recode support... yes
configure: error: I cannot link librecode (-L/usr/local/lib -lrecode). Is it 
installed?


------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=13636&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to