Re: Re: 1024 limits??
От | Mathieu Dube |
---|---|
Тема | Re: Re: 1024 limits?? |
Дата | |
Msg-id | 01020512263401.10576@therver.local2.lan обсуждение исходный текст |
Ответ на | Re: 1024 limits?? (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Re: 1024 limits??
|
Список | 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 по дате отправления: