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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Zoe De Lacy <zoe(at)onsideuk(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: HPUX 11.11 DBI, DBD, Pg ld: Mismatched ABI (not an ELF file) for -lpq, postgresql
Date: 2004-01-31 23:47:45
Message-ID: 9207.1075592865@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Zoe De Lacy <zoe(at)onsideuk(dot)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

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Jean-Michel Chabanne 2004-02-01 22:04:31 Re: How to connect my "wish" program to pgaccess
Previous Message Jason E. Stewart 2004-01-31 08:43:50 Re: Pg Perl & libpq HP-UX