compiling postgres on solaris and DBD::Pg

From: Luke Vanderfluit <lvanderf(at)internode(dot)com(dot)au>
To: pgsql-general(at)postgresql(dot)org
Subject: compiling postgres on solaris and DBD::Pg
Date: 2006-05-11 05:25:04
Message-ID: 4462CAB0.6030705@internode.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)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.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-05-11 07:22:31 Re: Getting relation/attribute names from inside UDT input/output function
Previous Message Shoaib Mir 2006-05-11 04:15:31 Recovery problem with PostgreSQL