Skip to Content.
Sympa Menu

freetds - Apache install failure with Freetds/PHP

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "joe brown" <jbrown AT lizardtech.com>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Apache install failure with Freetds/PHP
  • Date: Tue, 3 Apr 2001 17:20:50 -0400


I can't get PHP properly installed using FreeTDS as the Sybase directory.
I was successful in getting FreeTDS working with the --with-sybase option,
and the tests were all successful.

I installed PHP, and then started on Apache. I added this to
Configuration in APACHEBUILDDIR/src:

AddModule modules/php4/libphp4.a

I then ran ./Configure, and got this. Any ideas?


======== Error Output for sanity check ========
cd ..; gcc -DLINUX=22 -I/usr/local/src/php-4.0.4pl1
-I/usr/local/src/php-4.0.4pl1/main -I/usr/local/src/php-4.0.4pl1/main
-I/usr/local/src/php-4.0.4pl1/Zend -I/usr/local/src/php-4.0.4pl1/Zend
-I/usr/local/src/php-4.0.4pl1/TSRM -I/usr/local/src/php-4.0.4pl1/TSRM
-I/usr/local/src/php-4.0.4pl1 -DUSE_EXPAT -I./lib/expat-lite
-DNO_DL_NEEDED -o helpers/dummy helpers/dummy.c
-Wl,-rpath,/usr/local/src/freetds-0.51/lib -rdynamic
-L/usr/local/src/freetds-0.51/lib -Lmodules/php4 -L../modules/php4
-L../../modules/php4 -lmodphp4 -lpam -ldl -lsybdb -lresolv -lm -ldl
-lcrypt -lnsl -lresolv -lm -lcrypt
/usr/bin/ld: cannot find -lsybdb
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
============= End of Error Report =============




Archive powered by MHonArc 2.6.24.

Top of Page