Re: I lost the pg_control file - Mailing list pgsql-general

From Tom Lane
Subject Re: I lost the pg_control file
Date
Msg-id 28189.989162433@sss.pgh.pa.us
Whole thread Raw
In response to I lost the pg_control file  (Tulio Oliveira <mestredosmagos@marilia.com>)
List pgsql-general
Tulio Oliveira <tulio@marilia.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

pgsql-general by date:

Previous
From: Dan Lyke
Date:
Subject: Perl Scope problem
Next
From: "Mitch Vincent"
Date:
Subject: Re: Sessions, Connections ...