compiling postgres on solaris and DBD::Pg

Поиск
Список
Период
Сортировка
От Luke Vanderfluit
Тема compiling postgres on solaris and DBD::Pg
Дата
Msg-id 4462CAB0.6030705@internode.com.au
обсуждение исходный текст
Ответы Re: compiling postgres on solaris and DBD::Pg  (Martijn van Oosterhout <kleptog@svana.org>)
Список 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 по дате отправления:

Предыдущее
От: "Shoaib Mir"
Дата:
Сообщение: Recovery problem with PostgreSQL
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Getting relation/attribute names from inside UDT input/output function