cks-devl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cks-devl] Re: Compile error on cks-0.1.0


From: V Alex Brennen
Subject: [cks-devl] Re: Compile error on cks-0.1.0
Date: Mon, 8 Apr 2002 17:16:05 -0400 (EDT)

It's looking for libpq.  Do a 'locate libpq' on your system and
make sure that you set PG_LIB_DIR correctly.  Try adjusting your
LD_LIBRARY_PATH if it still can't find it, or removing the 
config cache.



        - VAB

On Mon, 8 Apr 2002, Chris Woodfield wrote:

> Hello,
> 
> I just attempted to compile cks-0.1.1 on a Debian Linux system. PostgreSQL 
> 7.2.1 
> has been compiled from source and installed in /usr/local/pgsql. ./configure 
> runs 
> without a hitch, except for having to manually define PG_LIB_DIR and 
> PG_INCLUDE_DIR...
> 
> Here's what I get from "make":
> 
> <snip>
> 
> gcc  -g -O2  -o cksd  cksd.o db.o cgi.o datastructures.o parse.o radix.o 
> std_types.o md5.o sha.o keys.o merge_keys.o retrieve.o cks_config.o 
> cks_socket.o 
> cks_log.o cks_debug.o cks_mail_util.o -lpq 
> /usr/bin/ld: cannot find -lpq
> collect2: ld returned 1 exit status
> make[1]: *** [cksd] Error 1
> make[1]: Leaving directory `/usr/src/daemons/cks-0.1.0/src'
> make: *** [all-recursive] Error 1
> 
> What exactly is gcc/ld looking for here that it can't find?
> 
> Thanks,
> 
> -Chris Woodfield
> 

-- 
V. Alex Brennen
Senior Systems Engineer
IBM Certified Specialist
e-TechServices.com
IBM Business Partner
Bus: 352.246.8553
Fax: 770.216.1877
address@hidden
http://www.e-techservices.com/people/vab/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]