#24899 [Opn->Fbk]: errors compiling whith sybase
| From: | sniper@php.net | Date: | Mon, 04 Aug 2003 13:24:31 +0000 |
| Subject: | #24899 [Opn->Fbk]: errors compiling whith sybase | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-45306@lists.php.net to get a copy of this message | ||
ID: 24899
Updated by: sniper@php.net
Reported By: ejantos at yahoo dot com
-Status: Open
+Status: Feedback
Bug Type: Sybase (dblib) related
Operating System: redhat 9.0
PHP Version: 4.3.2
New Comment:
What does this output:
# ldd /opt/sybase-11.9.2/lib/libsybdb.so
Is /opt/sybase-11.9.2/lib/ in your /etc/ld.so.conf ??
Previous Comments:
------------------------------------------------------------------------
[2003-08-04 04:39:45] ejantos at yahoo dot com
hello,
i removed the configure flag --enable-ctype and i added
--disable-ctype flag to the configure line but i got
the same results as before.
i tryed mith php-4.3.0, php-4.3.1 and php-4.3.2 but i got
the same error messages when compiling it with sybase-11.9.2.
opt/sybase-11.9.2/lib/libsybdb.so: undefined reference to `__ctype_b'
/opt/sybase-11.9.2/lib/libsybdb.so: undefined reference to
`__ctype_tolower'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
------------------------------------------------------------------------
[2003-08-02 15:01:59] iliaa@php.net
Try adding --disable-ctype flag to your configure line and see if that
resolves the problem.
------------------------------------------------------------------------
[2003-08-01 02:34:45] ejantos at yahoo dot com
Description:
------------
Hello,
i'm trying to install php with sybase but i always get
errors. what should i do?
thanks in advance.
tomio
when i compile it i get this errors:
/opt/sybase-11.9.2/lib/libsybdb.so: undefined reference to `__ctype_b'
/opt/sybase-11.9.2/lib/libsybdb.so: undefined reference to
`__ctype_tolower'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
my configuration:
./configure \
--prefix=/usr/local/apache/httpd_1.3.28/php4 \
--with-apxs=/usr/local/apache/httpd_1.3.28/bin/apxs \
--disable-debug --enable-tracks-vars --enable-libgcc --enable-EAPI
--enable-bcmath \
--with-tsrm-pthreads --enable-calendar --enable-ccvs --enable-cdb
--enable-cpdflib --enable-ctype \
--enable-curl --enable-dba=shared --enable-dbase --enable-dbx
--enable-dom --enable-exif --enable-ftp \
--enable-gd --enable-gdbm --enable-gettext --enable-hyperwave
--enable-icap --enable-imap --enable-imap-ssl \
--enable-jpeg-dir --enable-kerberos --enable-mailparse
--enable-magic-quotes --enable-mbstring \
--enable-mcal --enable-mcrypt --enable-mhash --enable-pdflib \
--enable-shmop --enable-sigchild --enable-snmp --enable-sysvsem
--enable-sysvshm \
--with-pgsql=/usr \
--enable-tiff-dir --enable-trans-sid --enable-ttf --enable-unixODBC
--enable-wddx \
--with-gmp --with-mysql=/usr \
--with-openssl=/usr --with-xml --enable-t1lib --with-t1lib=/usr/local
--with-jpeg-dir=/usr/local \
--with-gd=/usr/local --enable-gd-native-ttf --enable-gd-imgstrttf \
--with-freetype-dir=/usr/local \
--enable-xpm --with-xpm-dir=/usr/X11R6 \
--with-png-dir=/usr/local --enable-png \
--enable-zlib --with-zlib-dir=/usr --enable-sockets \
--with-mm=/usr/local --with-bz2\
--enable-mbstr-enc-trans --enable-mbstring --enable-dbx --enable-dio
\
--with-sybase=/opt/sybase-11.9.2
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24899&edit=1