Re: HPUX 11.11 DBI, DBD, Pg ld: Mismatched ABI (not an ELF file) for -lpq, postgresql - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: HPUX 11.11 DBI, DBD, Pg ld: Mismatched ABI (not an ELF file) for -lpq, postgresql
Date
Msg-id 9207.1075592865@sss.pgh.pa.us
Whole thread Raw
In response to HPUX 11.11 DBI, DBD, Pg ld: Mismatched ABI (not an ELF file) for -lpq, postgresql  (Zoe De Lacy <zoe@onsideuk.com>)
List pgsql-interfaces
Zoe De Lacy <zoe@onsideuk.com> writes:
> Running Mkbootstrap for DBD::Pg ()
>         chmod 644 Pg.bs
>         rm -f blib/arch/auto/DBD/Pg/Pg.sl
>         LD_RUN_PATH="/opt/pgsql/lib" /usr/bin/ld  -b -L/usr/local/lib
> -L/opt/local/lib Pg.o dbdimp.o quote.o types.o  -o
> blib/arch/auto/DBD/Pg/Pg.sl   -L/opt/pgsql/lib -lpq
> ld: Mismatched ABI (not an ELF file) for -lpq
> Fatal error.

Hmm.  What have you got in /opt/pgsql/lib, and where did it come from?
This seems to indicate that you have a libpq.a or libpq.sl file that was
built for a different platform.
        regards, tom lane


pgsql-interfaces by date:

Previous
From: Zoe De Lacy
Date:
Subject: HPUX 11.11 DBI, DBD, Pg ld: Mismatched ABI (not an ELF file) for -lpq, postgresql
Next
From: Jean-Michel Chabanne
Date:
Subject: Re: How to connect my "wish" program to pgaccess