From: | Mathieu Dube <mathieu_dube(at)videotron(dot)ca> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Re: 1024 limits?? |
Date: | 2001-02-05 17:20:45 |
Message-ID: | 01020512263401.10576@therver.local2.lan |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)venux(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Stephan Szabo | 2001-02-05 17:29:55 | Re: Foreign Key Columns And Indices |
Previous Message | Fred Yankowski | 2001-02-05 17:18:15 | command-line option for logfile |