PERL IS GOOD IN ADVANCE TECHNIQUE

Alles, was Perl betrifft, kann hier besprochen werden.

PERL IS GOOD IN ADVANCE TECHNIQUE

Postby raythomasn » 19. July 2010 08:21

Hallo,

ich hoffe dies ist ein richtiger Ort meine Frage zu stellen und es gibt hoffentlich jemand der mir weiterhelfen kann.

Mein problem ist, dass ich auf einem Solaris 10 System DBD (4.007) installiern will. MySQL ist unter /opt/mysql-5.0.51a installiert.

ich nutze das coolstack perl unter /opt/coolstack/perl. Damit habe ich schon einige Perl module erfolgreich installiert :wink:

meine Installation:

Code: Select all
/opt/coolstack/bin/perl Makefile.PL --cflags=-I/opt/mysql-5.0.51a/include --libs="-L/opt/mysql-5.0.51a/lib -lmysqlclient" CC=gcc CCDFLAGS=-fPIC LD=gcc OPTIMIZE=" "


das läuft auch durch
starte ich nun gmake was auch ohne probleme durchläuft.

nun kommt gmake test, was mit

Code: Select all
PERL_DL_NONLAZY=1 /opt/coolstack/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base....................
# Failed test 'use DBD::mysql;'
# in t/00base.t at line 21.
# Tried to use 'DBD::mysql'.
# Error: Can't load '/opt/scratch/DBD-mysql-4.007/blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: ld.so.1: perl: fatal: relocation error: file /opt/scratch/DBD-mysql-4.007/blib/arch/auto/DBD/mysql/mysql.so: symbol mysql_sqlstate: referenced symbol not found at /opt/coolstack/lib/perl5/5.8.8/sun4-solaris-thread-multi/DynaLoader.pm line 230.
# at (eval 6) line 2
# Compilation failed in require at (eval 6) line 2.
# BEGIN failed--compilation aborted at t/00base.t line 21.
t/00base....................NOK 2FAILED--Further testing stopped: Unable to load DBD::mysql
raythomasn
 
Posts: 1
Joined: 19. July 2010 08:17

Return to Perl

Who is online

Users browsing this forum: No registered users and 6 guests