Обсуждение: Re: DBD::Pg install error (freebsd)
>>>>> "jj" == jake johnson <jake@omnimode.com> writes: jj> I'm trying to install (from source) DBD::Pg v1.01 after having jj> installed (from source) DBI v1.19 on FreeBSD 4.3 (Release) and I jj> encounter this error in the 'make test' step: jj> dell_box# make test jj> PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib jj> -I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.00503 test.pl jj> OS: freebsd jj> install_driver(Pg) failed: Can't load 'blib/arch/auto/DBD/Pg/Pg.so' jj> for module DBD::Pg: Shared object "libpq.so.2" not found at jj> /usr/libdata/perl/5.00503/DynaLoader.pm line 169. After you installed postgres, did you run ldconfig -m /usr/local/pgsql/lib to add that shared lib to the system? -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D. Khera Communications, Inc. Internet: khera@kciLink.com Rockville, MD +1-240-453-8497 AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/
Vivek Khera <khera@kcilink.com> wrote in message news:<x7elq179h0.fsf@yertle.kciLink.com>... > >>>>> "jj" == jake johnson <jake@omnimode.com> writes: > > jj> I'm trying to install (from source) DBD::Pg v1.01 after having > jj> installed (from source) DBI v1.19 on FreeBSD 4.3 (Release) and I > jj> encounter this error in the 'make test' step: > > jj> dell_box# make test > jj> PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib > jj> -I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.00503 test.pl > jj> OS: freebsd > jj> install_driver(Pg) failed: Can't load 'blib/arch/auto/DBD/Pg/Pg.so' > jj> for module DBD::Pg: Shared object "libpq.so.2" not found at > jj> /usr/libdata/perl/5.00503/DynaLoader.pm line 169. > > After you installed postgres, did you run ldconfig -m > /usr/local/pgsql/lib to add that shared lib to the system? Thanks for your reply. I did run ldconfig, but without the -m switch.What type of impact would this omission have?