Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group