Skip site navigation (1) Skip section navigation (2)

Shared object "" not found

From: marko <marko(dot)online(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Shared object "" not found
Date: 2008-07-31 02:56:42
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
I'm running FreeBSD 6.2 and I have Postgresql 8.2.4 installed with
Perl v5.8.8.  I'm trying to test DBD-Pg-2.8.7 after compilation and I
get this error after 'make test':

PGINITDB="/usr/local/pgsql/bin/initdb" PERL_DL_NONLAZY=1 /usr/bin/perl
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/
arch')" t/*.t
        all skipped: Set the environment variable TEST_SIGNATURE to
enable this test
#   Failed test 'use DBD::Pg;'
t/00basic...........NOK 2#   in t/00basic.t at line
#     Tried to use 'DBD::Pg'.
#     Error:  Can't load '/usr/home/markuser/DBD-Pg-2.8.7/blib/arch/
auto/DBD/Pg/' for module DBD::Pg: Shared object "" not
found, required by "" at /usr/local/lib/perl5/5.8.8/mach/ line 230.
#  at (eval 8) line 2
# Compilation failed in require at (eval 8) line 2.
# BEGIN failed--compilation aborted at t/00basic.t line 14.
FAILED--Further testing stopped: Cannot continue without DBD::Pg
*** Error code 2

Stop in /usr/home/markuser/DBD-Pg-2.8.7.
At first I was getting 'Undefined symbol "PQserverVersion"' error
during 'make test' and it complained about not being able to find I believe.  I fixed that by putting '/usr/local/pgsql/lib'
in and running ldconfig so that it could find that file.
Then I also included '/usr/local/lib' in that file, which is the path
to, but its acting like it still can't find it, as you see
above.  It seems that I can't prioritize between searching between
these two directories.  It varies between errors for not finding or  I can't seem to provide both library files
at the same time.  Using the LD_LIBRARY_PATH environmental variable
doesn't seem to help this issue either.  I've included both library
directories (separately by a colon, if that's correct) and its no

Now, of course, I've googled this and nothing is helping at this
point.  Does anyone have any other pointers?  Is this a FreeBSD thing
possibly?  I'd *much* appreciate some help here!


pgsql-general by date

Next:From: Tom LaneDate: 2008-07-31 05:34:04
Subject: Re: Shared object "" not found
Previous:From: Rob AdamsDate: 2008-07-31 02:25:45
Subject: Re: archive_timeout, checkpoint_timeout

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group