Thread symbol-lookup error beim select... (11 answers)
Opened by supersucker at 2005-04-28 15:19

supersucker
 2005-04-29 16:02
#33195 #33195
User since
2005-03-17
118 Artikel
BenutzerIn
[default_avatar]
ich hab jetzt das DBD Pg-modul neu installiert (die 1.41, wie auf perl.de vorgeschlagen), das hat aber nichts gebracht...

was ich gemacht hab:

>> perl Makefile.PL

ok, lief durch

>> make

ebenso

dann aber:

>> make test
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00basic...........NOK 2# Failed test (t/00basic.t at line 11)
# Tried to use 'DBD::Pg'.
# Error: Can't load '/root/development/postgresql/perl-driver/DBD-Pg-1.41/blib/arch/auto/DBD/Pg/Pg.so' for module DBD::Pg: /root/development/postgresql/perl-driver/DBD-Pg-1.41/blib/arch/auto/DBD/Pg/Pg.so: undefined symbol: PQserverVersion at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
# at (eval 2) line 2
# Compilation failed in require at (eval 2) line 2.
t/00basic...........ok 3/3# Looks like you failed 1 tests of 3.
t/00basic...........dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 2
Failed 1/3 tests, 66.67% okay
t/01connect.........Use of uninitialized value in concatenation (.) or string at t/01connect.t line 72.
Use of uninitialized value in concatenation (.) or string at t/01connect.t line 72.
Use of uninitialized value in concatenation (.) or string at t/01connect.t line 72.
Use of uninitialized value in concatenation (.) or string at t/01connect.t line 72.
#
# Program Version
# Perl 5.8.5 (linux)
# DBD::Pg
# PostgreSQL (compiled)
# PostgreSQL (target)
# DBI 1.47
# DBI_DSN
skipped
all skipped: Cannot run test unless DBI_DSN is defined. See the README file.
t/01constants.......Can't load '/root/development/postgresql/perl-driver/DBD-Pg-1.41/blib/arch/auto/DBD/Pg/Pg.so' for module DBD::Pg: /root/development/postgresql/perl-driver/DBD-Pg-1.41/blib/arch/auto/DBD/Pg/Pg.so: undefined symbol: PQserverVersion at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
at t/01constants.t line 4
Compilation failed in require at t/01constants.t line 4.
BEGIN failed--compilation aborted at t/01constants.t line 4.
# Looks like your test died before it could output anything.
t/01constants.......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-20
Failed 20/20 tests, 0.00% okay
t/01setup...........skipped
all skipped: Cannot run test unless DBI_DSN is defined. See the README file.
t/02attribs.........skipped
all skipped: Cannot run test unless DBI_DSN is defined. See the README file
t/03dbmethod........skipped
all skipped: Cannot run test unless DBI_DSN is defined. See the README file
t/03smethod.........skipped
all skipped: Cannot run test unless DBI_DSN is defined. See the README file
t/04misc............skipped
all skipped: Cannot run test unless DBI_DSN is defined. See the README file
t/05arrays..........skipped
all skipped: Cannot run test unless DBI_DSN is defined. See the README file
t/06bytea...........Can't load '/root/development/postgresql/perl-driver/DBD-Pg-1.41/blib/arch/auto/DBD/Pg/Pg.so' for module DBD::Pg: /root/development/postgresql/perl-driver/DBD-Pg-1.41/blib/arch/auto/DBD/Pg/Pg.so: undefined symbol: PQserverVersion at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
at t/06bytea.t line 7
Compilation failed in require at t/06bytea.t line 7.
BEGIN failed--compilation aborted at t/06bytea.t line 7.
# Looks like your test died before it could output anything.
t/06bytea...........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/07copy............skipped
all skipped: Cannot run test unless DBI_DSN is defined. See the README file
t/12placeholders....skipped
all skipped: Cannot run test unless DBI_DSN is defined. See the README file
t/20savepoints......skipped
all skipped: Cannot run test unless DBI_DSN is defined. See the README file
t/99_pod............skipped
all skipped: Test::Pod 0.95 required for testing POD
t/99cleanup.........skipped
all skipped: Cannot run test unless DBI_DSN is defined. See the README file
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/00basic.t 1 256 3 1 33.33% 2
t/01constants.t 255 65280 20 40 200.00% 1-20
t/06bytea.t 255 65280 ?? ?? % ??
12 tests skipped.
Failed 3/15 test scripts, 80.00% okay. 21/23 subtests failed, 8.70% okay.
make: *** [test_dynamic] Fehler 255


und

>> make install

Code: (dl )
1
2
3
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Writing /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/Pg/.packlist
Appending installation info to /usr/lib/perl5/5.8.5/i386-linux-thread-multi/perllocal.pod


jetzt komm ich nicht mehr weiter, wenn ich wieder meine scripte starte krieg ich genau den gleichen fehler wie vorher....

sollte ich den postgressql-server neu installieren und dann noch mal die perl-postgresql treiber?
oder auch nochmal die DBI-treiber?
oder, oder....

weiss nicht wirklich was ich machen soll..........

View full thread symbol-lookup error beim select...