Re: gmake Errors: pg_backup_archiver.c: undefined reference - Mailing list pgsql-general

From Emi Lu
Subject Re: gmake Errors: pg_backup_archiver.c: undefined reference
Date
Msg-id 44C65B45.4030304@encs.concordia.ca
Whole thread Raw
In response to Re: gmake Errors: pg_backup_archiver.c: undefined reference to `lo_create'  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
>> I did make distclean, and I retried "configuration and ", but I still
>> saw the following errors:
>>
>
> The only other theory I can think of is that the linker is picking up
> an old libpq.so from /home/postgresql/lib because of the -rpath switch
> ... which it should not be doing, but maybe it is anyway.  If there's
> an 8.0 libpq.so there, try getting rid of it.

You are absolutely correct. It is because of the libpg.so.

I used the central gcc before, and -rpath was linked to the 8.0 libpg.so.

Now I specified the local gcc and installed version 8.1.4 successfully
this time.

Thanks a lot for all your kind help!


pgsql-general by date:

Previous
From: "Philippe Lang"
Date:
Subject: Re: Plperl return_next and bytea binary data?
Next
From: Reece Hart
Date:
Subject: Re: Splitting Timestamps