compiling postgres on solaris and DBD::Pg - Mailing list pgsql-general

From Luke Vanderfluit
Subject compiling postgres on solaris and DBD::Pg
Date
Msg-id 4462CAB0.6030705@internode.com.au
Whole thread Raw
Responses Re: compiling postgres on solaris and DBD::Pg
List pgsql-general
Hi.

I've been able to compile postgresql on solaris 10.
Now I want to install the perl DBD::Pg module but I get a complaint, namely:

/~~~~~~~~~~~~~~~~~~~~~~~
[root@tickettest] # make
rm -f blib/arch/auto/DBD/Pg/Pg.so
LD_RUN_PATH="/usr/local/pgsql/lib" /opt/SUNWspro/bin/cc  -G
-xarch=generic64 -L/opt/SUNWspro/prod/lib/amd64 -L/lib/amd64
-L/usr/local/lib Pg.o dbdimp.o quote.o types.o  -o
blib/arch/auto/DBD/Pg/Pg.so         \
   -L/usr/local/pgsql/lib -lpq          \

ld: fatal: file /usr/local/pgsql/lib/libpq.so: wrong ELF class: ELFCLASS32
ld: fatal: File processing errors. No output written to
blib/arch/auto/DBD/Pg/Pg.so
*** Error code 1
make: Fatal error: Command failed for target `blib/arch/auto/DBD/Pg/Pg.so'
\_______________________

Any help to understand this appreciated.
Kind regards.

--
Luke Vanderfluit.
Analyst/Programmer.
Internode Systems Pty. Ltd.


pgsql-general by date:

Previous
From: "Shoaib Mir"
Date:
Subject: Recovery problem with PostgreSQL
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Getting relation/attribute names from inside UDT input/output function