FreeBSD 4.4 / PHP 4.1.1 / PG 7.x --- /usr/libexec/elf/ld: cannot find -lpq
| From: | Eric Jones \(Contractor\) | Date: | Thu, 24 Jan 2002 20:16:50 +0000 |
| Subject: | FreeBSD 4.4 / PHP 4.1.1 / PG 7.x --- /usr/libexec/elf/ld: cannot find -lpq | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-5734@lists.php.net to get a copy of this message | ||
Hello!
I'm having a problem when i do a make on my system.
------ debug log -----
CONFIGURE: './configure' '--enable-magic-quotes' '--with-apxs'
'--enable-shared' '--enable-trans-sid' '--enable-mhash'
'--enable-f
tp' '--with-gettext' '--enable-mailparse' '--enable-libgcc'
'--enable-calendar' '--with-openssl' '--with-pgsql'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -DHARD_SERVER_LIMIT=512 -DDOCUMENT_LOCATION="/usr/local/www/data/"
-DDEFAULT_PATH="/usr/local/bin:/bin:/usr/bin" -DACCE
PT_FILTER_NAME="httpready" -DMOD_SSL=208105 -DEAPI -DEAPI_MM -DUSE_EXPAT
CXX:
CXXFLAGS:
INCLUDES: -I/usr/local/include/apache -I$(top_builddir)/Zend -I/usr/local/include
-I/usr/home/jonese/serversoftware/php-4.1.1/ex
t/mysql/libmysql
LDFLAGS: -R/usr/local/lib -L/usr/local/lib
LIBS: -lpq -lintl -lcrypt -lssl -lcrypto -lm -lgcc -lcrypt
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/local/lib
uname -a: FreeBSD dev.futures.hua.army.mil 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Tue Sep 18 11:57:08
PDT 2001 murray@builder.Fre
eBSD.org:/usr/src/sys/compile/GENERIC i386
gcc -o conftest -g -O2 -DHARD_SERVER_LIMIT=512 -DDOCUMENT_LOCATION="/usr/local/www/data/"
-DDEFAULT_PATH="/usr/local/bin:/bin:/usr/
bin" -DACCEPT_FILTER_NAME="httpready" -DMOD_SSL=208105 -DEAPI -DEAPI_MM -DUSE_EXPAT
-R/usr/local/lib -L/usr/local/lib conftest.c -l
pq -lintl -lcrypt -lssl -lcrypto -lm -lgcc -lcrypt 1>&5
/usr/libexec/elf/ld: cannot find -lpq
-------- end ---------
I see that the file /usr/libexec/elf/ld is on my system.
i'm not sure what to do so any help would be great!
Eric Jones (Contractor)
Temp E-mail: hua-eric@jpecservices.com
********************** NOTICE **********************
This e-mail account is being hosted on a
server that is NOT on the FT. Huachuca network.
This server is not an approved DOD device and
is in no way, shape or form associated with the
DOD.
This e-mail account is not secure and is only in
place as a temporary POC.
********************** NOTICE **********************