Re: collect2: error: ld returned 1 exit status

2022-11-26 Thread William Torrez Corea
On Sat, Nov 26, 2022 at 7:55 PM Rob Sargent wrote: > > header files for libpq5 (PostgreSQL library), the package is broken. > -- > > With kindest regards, William. > > ⢀⣴⠾⠻⢶⣦⠀ > ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system > ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org > ⠈⠳⣄ > > > I’m confused. Is that

Re: collect2: error: ld returned 1 exit status

2022-11-26 Thread Rob Sargent
header files for libpq5 (PostgreSQL library), the package is broken. -- With kindest regards, William.⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org⠈⠳⣄ I’m confused. Is that  ‘package is broken’ coming from dpkg. 

Re: collect2: error: ld returned 1 exit status

2022-11-26 Thread William Torrez Corea
>> wrote: >> >>  >> I am using libpq: the C application programmer's interface to PostgreSQL. >> >> Compile the code: >> >> >>> *sudo cc -o testprog testprog1.o testprog2.o -L/usr/local/pgsql/lib -lpq* >> >> >> But i get the foll

Re: collect2: error: ld returned 1 exit status

2022-11-26 Thread Tom Lane
t i get the following error: >>> *collect2: error: ld returned 1 exit status* The useful info would be in the lines right before that one. That one just tells you that cc is giving up because of prior errors. >> And do you have at hand why the loader (ld) failed? > Package libp

Re: collect2: error: ld returned 1 exit status

2022-11-26 Thread Rob Sargent
On Nov 26, 2022, at 4:17 PM, William Torrez Corea wrote:On Sat, Nov 26, 2022 at 5:00 PM Rob Sargent wrote:On Nov 26, 2022, at 3:43 PM, William Torrez Corea wrote:I am using libpq: the C application programmer's interface to PostgreSQL. Compile the

Re: collect2: error: ld returned 1 exit status

2022-11-26 Thread William Torrez Corea
stprog1.o testprog2.o -L/usr/local/pgsql/lib -lpq* >> > > But i get the following error: > > *collect2: error: ld returned 1 exit status* >> > > -- > > > And do you have at hand why the loader (ld) failed? > > > Package libpq was not found in t

Re: collect2: error: ld returned 1 exit status

2022-11-26 Thread Rob Sargent
> > But i get the following error: > >> collect2: error: ld returned 1 exit status > > -- And do you have at hand why the loader (ld) failed? >

collect2: error: ld returned 1 exit status

2022-11-26 Thread William Torrez Corea
I am using libpq: the C application programmer's interface to PostgreSQL. Compile the code: > *sudo cc -o testprog testprog1.o testprog2.o -L/usr/local/pgsql/lib -lpq* > But i get the following error: *collect2: error: ld returned 1 exit status* > -- With kindest re