DBD::mysql install problem on HP-UX 11.11

DBD::mysql install problem on HP-UX 11.11

am 17.09.2004 18:31:52 von Dawn Sun

------=_NextPart_000_000F_01C49CB2.4FAF3250
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Folks,

I am having a problem to install DBD::mysql(2.9003_1) on a HP-UX11.11. =
The make stopped when tried to compile:

tmp/DBD-mysql-2.9003_1-># perl Makefile.PL
I will use the following settings for compiling and testing:

cflags (mysql_config) =3D -I/usr/local/mysql/include
libs (mysql_config) =3D -L/usr/local/mysql/lib -lmysqlclient =
-lnsl -lm
nocatchstderr (default ) =3D 0
nofoundrows (default ) =3D 0
ssl (guessed ) =3D 0
testdb (default ) =3D test
testhost (default ) =3D
testpassword (default ) =3D
testuser (default ) =3D

To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.

Using DBI 1.43 (for perl 5.008 on PA-RISC1.1-thread-multi) installed in =
/opt/perl/lib/site_perl/5.8.0/PA-RISC1.1-thread-multi/auto/D BI
Writing Makefile for DBD::mysql
tmp/DBD-mysql-2.9003_1-># make
gcc -c =
-I/opt/perl/lib/site_perl/5.8.0/PA-RISC1.1-thread-multi/auto /DBI =
-I/usr/local/mysql/include -D_POSIX_C_SOURCE=3D199506L -D_REENTRANT =
-D_HPUX_SOURCE -fPIC -mpa-risc-1-1
-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -O =
-DVERSION=3D\"2.9003_1\" -DXS_VERSION=3D\"2.9003_1\" -fPIC =
"-I/opt/perl/lib/5.8.0/PA-RISC1.1-thread-multi/CORE"
dbdimp.c
gcc -c =
-I/opt/perl/lib/site_perl/5.8.0/PA-RISC1.1-thread-multi/auto /DBI =
-I/usr/local/mysql/include -D_POSIX_C_SOURCE=3D199506L -D_REENTRANT =
-D_HPUX_SOURCE -fPIC -mpa-risc-1-1
-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -O =
-DVERSION=3D\"2.9003_1\" -DXS_VERSION=3D\"2.9003_1\" -fPIC =
"-I/opt/perl/lib/5.8.0/PA-RISC1.1-thread-multi/CORE"
mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.sl
LD_RUN_PATH=3D"/usr/local/mysql/lib:/lib" /opt/perl/bin/perl =
myld gcc -shared -static-libgcc -fPIC dbdimp.o mysql.o -o =
blib/arch/auto/DBD/mysql/mysql.sl -L/usr/local/mysql/lib -lmysqlclient =
-lnsl -lm
/usr/ccs/bin/ld: /usr/local/mysql/lib/libmysqlclient.a: Not a valid =
library (invalid magic
number). Possibly a 64-bit PA archive library (Mismatched ABI).
collect2: ld returned 1 exit status
*** Error exit code 1

Stop.

I didn't install the mysql on the server, I run
/home/mysql/4.0.18-># ./bin/mysql --version
../bin/mysql Ver 12.22 Distrib 4.0.18, for hp-hpux11.11 (hppa2.0w)=20

Is this telling the mysql on the server is a wrong version? The HPUX is =
HP-UX11.11 9000/800.=20

Thanks in advance,

Dawn


------=_NextPart_000_000F_01C49CB2.4FAF3250--