problem making DBD-Pg
Jeph Cowan <[email protected]>
| Newsgroups | gmane.comp.db.postgresql.dbdpg |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I'm having a problem getting DBD-Pg to compile and was wondering if you could point
me in the right direction. perl Makefile.PL is fine, however the make blows up. The
error is:
...snip...
Running Mkbootstrap for DBD::Pg ()
chmod 644 Pg.bs
rm -f blib/arch/auto/DBD/Pg/Pg.so
LD_RUN_PATH="" cc -shared -L/usr/local/lib64 Pg.o dbdimp.o quote.o types.o -o
blib/arch/auto/DBD/Pg/Pg.so -L/usr/local/pgsql/lib -lpq
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld:
/usr/local/pgsql/lib/libpq.a(fe-connect.o): relocation R_X86_64_32 can not be used
when making a shared object; recompile with -fPIC
/usr/local/pgsql/lib/libpq.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/DBD/Pg/Pg.so] Error 1
Pertinent system information:
OS information: (uname -a)
kernel-name: Linux
nodename: snoopy
kernel-release: 2.6.5-7.244-default
kernel-version: #1 Mon Dec 12 18:32:35 UTC 2005
machine: x86_64
processor: x86_64
hardware-platform: x86_64
operating-system: GNU/Linux
Perl DBI information
Wed May 17 15:34:46 2006: "Module" DBI
* "installed into: /usr/lib/perl5/site_perl/5.8.3"
* "LINKTYPE: dynamic"
* "VERSION: 1.50"
* "EXE_FILES: dbiproxy dbiprof"
DBD-Pg-1.49
postgres (PostgreSQL) 8.1.4, connecting to same.
Hopefully it a silly configuration error that I'm not seeing. Please let me know if
you need additional information. Thanks in advance.
Regards... -jeph
--
jeph Cowan
Supercomputer Systems Group
National Center for Atmospheric Research
1850 Table Mesa Drive
Boulder, CO 80305
303-497-1294
[email protected]