Re: I lost the pg_control file

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tulio Oliveira <tulio(at)marilia(dot)com>
Cc: Tulio Oliveira <mestredosmagos(at)marilia(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: I lost the pg_control file
Date: 2001-05-06 15:20:33
Message-ID: 28189.989162433@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tulio Oliveira <tulio(at)marilia(dot)com> writes:
> gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
> -I../../src/include
> -c -o pg_resetxlog.o pg_resetxlog.c
> gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations pg_resetxlog.o
> pg_crc.o -Wl,-rpath,/usr/local/pgsql/lib -lz -lcrypt -lresolv -lnsl
> -ldl -lm -lbsd -o pg_resetxlog
> /usr/bin/ld: cannot find -lbsd
> collect2: ld returned 1 exit status
> make: *** [pg_resetxlog] Error 1

Hmm, did you run configure yourself, or are you using configure data
out of an RPM? Configure should not have added -lbsd to the compile
switches if you don't have it available.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mitch Vincent 2001-05-06 17:20:45 Re: Sessions, Connections ...
Previous Message Dan Lyke 2001-05-06 14:17:17 Perl Scope problem