Re: Re: 1024 limits?? - Mailing list pgsql-hackers

From Mathieu Dube
Subject Re: Re: 1024 limits??
Date
Msg-id 01020512263401.10576@therver.local2.lan
Whole thread Raw
In response to Re: 1024 limits??  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Re: 1024 limits??  (Alfred Perlstein <bright@wintelcom.net>)
List pgsql-hackers
cc -o therver therver.c -g -lflipr -lpq -L. -lpthread -D_REENTRANT
./libpq.a(fe-auth.o): In function `pg_password_sendauth':
/usr/local/postgresql-7.0.3/src/interfaces/libpq/fe-auth.c:465: undefined reference to `crypt'
collect2: ld returned 1 exit status
make: *** [therver] Error 1

this is what I get 
should I copy other files?

On Mon, 05 Feb 2001, you wrote:
> "Mitch Vincent" <mitch@venux.net> writes:
> > You need to compile PostgreSQL from source with -g ..
> > ftp.postgresql.org is the main FTP, there are many mirrors. Look for the
> > source tarball there..
> 
> >> Im currently using rpms
> >> is there a way to just remove an rpm(the API one) and compile only that??
> 
> If you don't want to mess with removing the RPMs, you don't have to.
> Build the source with -g, but don't install it.  Instead, copy the
> static libpq.a library (look in src/interfaces/libpq after building)
> to your application directory, and force your app to link against it
> instead of against the libpq.so that's in /usr/lib (or whereever the
> RPMs installed it).
> 
>             regards, tom lane
-- 
Mathieu Dube    
Mondo-Live            
www.flipr.com


pgsql-hackers by date:

Previous
From: Fred Yankowski
Date:
Subject: command-line option for logfile
Next
From: Stephan Szabo
Date:
Subject: Re: Foreign Key Columns And Indices