I can"t get no satisfaction (DBD-mysql-2.9003 on HPUX 11.11)

I can"t get no satisfaction (DBD-mysql-2.9003 on HPUX 11.11)

am 16.03.2004 03:25:30 von Simon Taylor

Hello all,

Has anyone else had this problem and beeen able to resolve it?

I can't get DBD-mysql-2.9003 to compile on any of three HPUX-11.11 machines
I have access to.

I'm using MySQL 4.0.18, (for hp-hpux11.11 on hppa2.0w), downloaded
from mysql.com today. The machines are a vanilla hpux 11.11 with perl 5.8.3
and no gcc environment installed.

The make fails with:

/usr/bin/ld: Invalid loader fixup in text space needed in output file
for symbol "$0000004B" in input file
"/usr/local/mysql/lib/libmysqlclient.a(libmysql.o)"

See below for the gory details. I would really value hearing anyone's else
experience with DBD and hpux 11.11 (BTW, I get the same problem with mysql
4.0.17).

Regards,

Simon Taylor


DETAILS:

$ perl Makefile.PL --cflags="-I/usr/local/mysql/include +DAportable"
--libs="-L/usr/local/mysql/lib -lmysqlclient -lcrypt -lnsl -lm"
I will use the following settings for compiling and testing:

cflags (Users choice) = -I/usr/local/mysql/include +DAportable
libs (Users choice) = -L/usr/local/mysql/lib -lmysqlclient -lcrypt
-lnsl -lm
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 0
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testuser (default ) =

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

Using DBI 1.40 (for perl 5.008003 on PA-RISC2.0-thread-multi) installed in
/opt/perl5/lib/site_perl/5.8.3/PA-RISC2.0-thread-multi/auto/ DBI
Writing Makefile for DBD::mysql

$ make
cc -c
-I/opt/perl5/lib/site_perl/5.8.3/PA-RISC2.0-thread-multi/aut o/DBI
-I/usr/local/mysql/include +DAportable -D_POSIX_C_SOURCE=199506L
-D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O2 +Onolimit
-DVERSION=\"2.9003\" -DXS_VERSION=\"2.9003\" +Z
"-I/opt/perl5/lib/5.8.3/PA-RISC2.0-thread-multi/CORE" dbdimp.c
cc: "/usr/include/sys/socket.h", line 504: warning 562: Redeclaration of
"sendfile" with a different storage class specifier: "sendfile" will have
internal linkage.
cc: "/usr/include/sys/socket.h", line 505: warning 562: Redeclaration of
"sendpath" with a different storage class specifier: "sendpath" will have
internal linkage.
cc -c
-I/opt/perl5/lib/site_perl/5.8.3/PA-RISC2.0-thread-multi/aut o/DBI
-I/usr/local/mysql/include +DAportable -D_POSIX_C_SOURCE=199506L
-D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O2 +Onolimit
-DVERSION=\"2.9003\" -DXS_VERSION=\"2.9003\" +Z
"-I/opt/perl5/lib/5.8.3/PA-RISC2.0-thread-multi/CORE" mysql.c
cc: "/usr/include/sys/socket.h", line 504: warning 562: Redeclaration of
"sendfile" with a different storage class specifier: "sendfile" will have
internal linkage.
cc: "/usr/include/sys/socket.h", line 505: warning 562: Redeclaration of
"sendpath" with a different storage class specifier: "sendpath" will have
internal linkage.
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.sl
LD_RUN_PATH="" /usr/bin/perl myld /usr/bin/ld -b +vnocompatwarnings
-L/usr/local/lib dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.sl
-L/usr/local/mysql/lib -lmysqlclient -lcrypt -lnsl -lm
/usr/bin/ld: Invalid loader fixup in text space needed in output file for
symbol "$0000004B" in input file
"/usr/local/mysql/lib/libmysqlclient.a(libmysql.o)"
*** Error exit code 1

Stop.
$

--
Unisolve Pty Ltd - Melbourne, Australia
+61 3 9568 2005


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org