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