sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #22463
Apache + PHP3 + postgresql /= true?
Hallojsan!
Nu har jag gett mig paa ett nytt projekt. Apache + PHP3 + PGSQL. Har
Apache + PHP3 igaang, men postgresql ville inte foerst... ; )
Efter att ha raettat lite i naagra .h filer allt funkade php3 fint att
kompilera. Efter det skulle jag kompilera apache, men daa faar jag foeljande
fel:
k509:/usr/src/apache_1.3.12# ./configure --prefix=/usr/share/apache
--activate-module=src/modules/php3/libphp3.a
Configuring for Apache, Version 1.3.12
+ using installation path layout: Apache (config.layout)
+ activated php3 module (modules/php3/libphp3.a)
Creating Makefile
Creating Configuration.apaci in src
cd ..; gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` -o helpers/dummy helpers/dummy.c -Wl,-rpath,/usr/src/php-3.0.16/../postgresql-6.5.3/src/include/lib -L/usr/src/php-3.0.16/../postgresql-6.5.3/src/include/lib -lpq -Lmodules/php3 -L../modules/php3 -L../../modules/php3 -lmodphp3 -lm -ldl -lcrypt -lresolv -Wl,-rpath,/usr/src/php-3.0.16/../postgresql-6.5.3/src/include/lib -L/usr/src/php-3.0.16/../postgresql-6.5.3/src/include/lib -lpq -Lmodules/php3 -L../modules/php3 -L../../modules/php3 -lmodphp3 -lm -ldl -lcrypt -lresolv -lm -lcrypt -lgdbm -lgdbm
/usr/bin/ld: cannot find -lpq
collect2: ld returned 1 exit status
??
Hjaelp?
--
///Magnus
/ Magnus Alexandersson | Debian Potato \
\ http://k509.smalands.lu.se | http://www.sslug.dk /