I just installed version 6.3.2 and I am trying to get pgsql_perl5 to
work. The installation placed Pg.pm file in
/usr/local/lib/perl5/i386-freebsd/5.00404, but when I try to include it
using "use Pg;", it abots and tells following:
Can't locate loadable object for module Pg in @INC (@INC contains:
/usr/local/lib/perl5/i386-freebsd/5.00404 /usr/local/lib/perl5
/usr/local/lib/perl5/site_perl/i386-freebsd
/usr/local/lib/perl5/site_perl .) at ./mytest.pl line 13
BEGIN failed--compilation aborted at ./mytest.pl line 13.
$ perl -V
Summary of my perl5 (5.0 patchlevel 4 subversion 4) configuration:
Platform:
osname=freebsd, osvers=2.2.6-beta, archname=i386-freebsd
uname='freebsd leia.cs.berkeley.edu 2.2.6-beta freebsd 2.2.6-beta
#0: sat mar 21 15:35:18 pst 1998
asami2@leia.cs.berkeley.edu:ccdsrcsyscompileccd i386 '
hint=recommended, useposix=true, d_sigaction=define
bincompat3=y useperlio=undef d_sfio=undef
Compiler:
cc='cc', optimize='-O', gccversion=2.7.2.1
cppflags='-I/usr/local/include'
ccflags ='-I/usr/local/include'
stdchar='char', d_stdstdio=undef, usevfork=true
voidflags=15, castflags=0, d_casti32=undef, d_castneg=define
intsize=4, alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='ld', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib
libs=-lgdbm -lm -lc -lcrypt
libc=/usr/lib/libc.so.3.1, so=so
useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-DPIC -fpic', lddlflags='-Bshareable -L/usr/local/lib
Characteristics of this binary (from libperl):
Built under freebsd
Compiled at Mar 22 1998 13:00:06
@INC:
/usr/local/lib/perl5/i386-freebsd/5.00404
/usr/local/lib/perl5
/usr/local/lib/perl5/site_perl/i386-freebsd
/usr/local/lib/perl5/site_perl
.
- John
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com