php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10370 ceil/fabs/getmntest undefined symbol
Submitted: 2001-04-17 23:45 UTC Modified: 2001-05-22 18:12 UTC
From: kevinhsu at sco dot com Assigned:
Status: Not a bug Package: Installation problem
PHP Version: 4.0.4pl1 OS: SCO UnixWare 7.1.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: kevinhsu at sco dot com
New email:
PHP Version: OS:

 

 [2001-04-17 23:45 UTC] kevinhsu at sco dot com
Hi all,

I am using PHP4.4pl1 on UnixWare 7.
After the configure finished, it told me to check
debug.log. I found the error messages :
=================
cc -o conftest -g  -DUW=700 -DUSE_HSREGEX -DUSE_EXPAT -I/usr/informix/incl/esql
-DSUPPORT_UTF8  -L/usr/ucblib -L/usr/ucblib -L/usr/informix/lib -L/usr/informix/
lib -L/usr/informix/lib/esql -L/usr/informix/lib/esql  -L/pub/php4-200104171945/
ext/informix -L/pub/php4-200104171945/ext/informix conftest.c -lm -ldl -lcrypt -
lsocket  -lresolv -lifsql -lifasf -lifgen -lifos -lifgls -lsocket -lnetstub -ldl
 -lelf -lphp_ifx -lifglx 1>&5
Undefined                       first referenced
 symbol                             in file
ceil                                /usr/informix/lib/esql/libifsql.so
fabs                                /usr/informix/lib/esql/libifgen.so
getmntent                           /usr/informix/lib/esql/libifos.so
UX:ld: ERROR: conftest: fatal error: Symbol referencing errors. No output written to conftest
==================

I don't know if any of you have encounterd the same
problem as mine?
Thanks
Regards,
Kevin

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-17 23:47 UTC] kevinhsu at sco dot com
oops, I forget to tell you my configure parameters

That is :

configure --with-informix=/usr/informix --with-apxs=/usr/local/apache/bin/apxs 

Sorry about that
 [2001-05-22 10:24 UTC] kevinhsu at sco dot com
thx Paul Gardiner's help.
I use this steps to configure PHP4.0.4pl1 in UnixWare 711
system.

1.make sure we use gnu make/binutils/bison 1.28
2.configure Apache
3.set variables:
INFORMIXDIR=/usr/informix
INFORMIXSERVER=ids731
LD_LIBRARY_PATH=$INFORMIXDIR/lib:$INFORMIXDIR/lib/esql:$INFORMIXDIR/incl/esql

IFX_LIBS="-L$INFORMIXDIR/lib -L$INFORMIXDIR/lib/esql"
IFX_INCDIR=$INFORMIXDIR/incl/esql
IFX_LIBDIR="-L$INFORMIXDIR/lib -L$INFORMIXDIR/lib/esql"

**ps. If I don't set this, the "configure" will guess
the wrong information for IFX_LIBS. That's why we can't
make it.

4.configure PHP with informix support
./configure --with-apache=../apache_1.3.19 --without-mysql --with-informix=/usr/informix --prefix=/usr/local/php

5.make / make install PHP
6.change back to Apache
7.set 2 variables
IFX_LIBS="-lifsql -lifasf -lifgen -lifos -lifgls \
-lcrypt_i /usr/ccs/lib/libgen.a -lsocket -lnsl -lm \
-lifglx -lc /usr/informix/lib/esql/checkapi.o"
LIBS="$IFX_LIBS"

8.configure apache
./configure --activate-module=src/modules/php4/libphp4.a

9. make / make install apache

 [2001-05-22 18:12 UTC] sniper@php.net
Submitted twice. (only one report per bug)


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 07 14:01:28 2024 UTC