Need help on makeing php
| From: | Nick | Date: | Thu, 24 Jul 2003 02:17:56 +0000 |
| Subject: | Need help on makeing php | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-11331@lists.php.net to get a copy of this message | ||
To All Helpers:
Solaris 2.8 with Apache 1.3.27 and sybase 12.5 and php 4.3.2
I run configure fine with following parameter:
./configure --with-apache=/usr/local/apache_1.3.27 --with-mysql=/usr/local/mysql
--with-sybase=/sybase/OCS-12_5/ --with-gd --with-zlib-dir --with-jpeg-dir --with-xpm-dir
--enable-track-var
But I got the following error when I tried to run make command:
ld: fatal: library -lsybdb: not found
ld: fatal: File processing errors. No output written to sapi/cli/php
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
I did check the /opt/sybase/OCS_12-5/lib and /opt/sybase/OCS_12-5/include and there
are sybdb.h in include directory.
# cd lib
# ls
examples.so libcs.so libintl.a libsrv_r.a libtli.so
libblk.a libcs_r.a libintl.so libsrv_r.so libtli_r.so
libblk_r.a libcs_r.so libintl_r.a libsybdb.a sybsyesp.so
libcomn.a libct.a libintl_r.so libsybdb.so xpsmsgs.so
libcomn.so libct.so libsdce.so libtcl.a
libcomn_r.a libct_r.a libskrb.so libtcl.so
libcomn_r.so libct_r.so libsrv.a libtcl_r.a
libcs.a libddce.so libsrv.so libtcl_r.so
# cd ..
# cd include
# ls
bkpublic.h cstypes.h oserror.h sqlda.h sybdb.h syblogin.h
csconfig.h ctpublic.h ospublic.h srv.h syberror.h
cspublic.h oscompat.h sqlca.h srverror.h sybfront.h
#
I have searched the archive and found similar problem but with no response.
Your help will be greatly appreciated.
Nick