Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001032

Re: [PHP] irix compile error (4.0.4pl1): libpq From: Yasuo Ohgaki (yohgaki <email protected>)
Date: 03/21/01

Do you have llibpq in your system? Is it under path /usr/lib or /usr/local/lib?
If not, get PostgreSQL source, create lib, specify Pgsql install location for
configure.
If this does not help, I don't know....

Regards,

--
Yasuo Ohgaki

"Paul Schreiber" <pjschrei <email protected>> wrote in message news:200103212312.SAA05724 <email protected> > okay, i'm trying to compile on an irix 5.3 box ... configure gives some > sort of warning/error, and this is what's in debug.log: > > --------------------------------------------------------------------------- > - > CONFIGURE: './configure' '--with-mysql' > '--with-apache=../apache_1.3.19/' '--w > ith-openssl' '--with-imap' '--enable-magic-quotes' '--with-curl' > '--enable-ftp' > '--with-pgsql' '--enable-trans-sid' > CC: gcc > CFLAGS: -O2 > CPPFLAGS: > CXX: > CXXFLAGS: > INCLUDES: -I/disk2/usr/people/paul/apache_1.3.19/src/include > -I/disk2/usr/peo > ple/paul/apache_1.3.19/src/os/unix -I$(top_builddir)/Zend > -I/usr/local/ssl/incl > ude -I/usr/local/include > -I/disk2/usr/people/paul/php-4.0.4pl1/ext/mysql/libmysq > l > LDFLAGS: -Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib > -Wl,-rpath,/usr/ > local/lib -L/usr/local/lib -Wl,-rpath,/lib -L/lib > LIBS: -lpq -lcurl -lcrypto -lssl -lm -ldl -lcrypt -lsocket -lsocket > DLIBS: -lc-client > SAPI: apache > PHP_RPATHS: /usr/local/ssl/lib /usr/local/lib /lib > uname -a: IRIX imprint 5.3 02091401 IP22 mips > > gcc -o conftest -O2 -Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib > -Wl,-rp > ath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/lib -L/lib conftest.c > -lpq -lcur > l -lcrypto -lssl -lm -ldl -lcrypt -lsocket -lsocket 1>&5 > /usr/bin/../lib/ld: > Can't locate file for: -lpq > collect2: ld returned 1 exit status > > --------------------------------------------------------------------------- > - > make gives a different error: > > main.c: In function `php_message_handler_for_zend': > main.c:582: too few arguments to function `asctime_r' > make[2]: *** [main.lo] Error 1 > make[2]: Leaving directory `/disk2/usr/people/paul/php-4.0.4pl1/main' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/disk2/usr/people/paul/php-4.0.4pl1/main' > make: *** [all-recursive] Error 1 > --------------------------------------------------------------------------- > - > > > anyone know how to fix this? > > > Paul > > shad 96c / 4B CS / mac activist / eda / fumbler > fan of / jewel / sophie b. / sarah slean / steve poltz / emm gryner / > / x-files / buffy / dawson's creek / habs / bills / 49ers / > > t h i n k d i f f e r e n t. > > i chained my angel to the eavestrough / > it was november and i think i pissed him off / > -- Sarah Slean, "Angel" > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe <email protected> > For additional commands, e-mail: php-general-help <email protected> > To contact the list administrators, e-mail: php-list-admin <email protected> >

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>