From: Date: November 4 2003 1:51am Subject: Re: DBD::mysql install issues on HPUX 11.0 List-Archive: http://lists.mysql.com/perl/2546 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; format=flowed Jochen; I would say this is not a valid fix: # /opt/perl/bin/perl Makefile.PL --libs="-L/other/mysql/lib -lmysqlclient -lcrypt -lnsl -lm +Z" I will use the following settings for compiling and testing: cflags (mysql_config) = -I'/other/mysql/include' libs (Users choice) = -L/other/mysql/lib -lmysqlclient -lcrypt -lnsl -lm +Z 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'. Unrecognized argument in LIBS ignored: '+Z' Using DBI 1.38 installed in /opt/perl/lib/site_perl/5.8.0/PA-RISC2.0/auto/DBI Writing Makefile for DBD::mysql # make gcc -c -I/opt/perl/lib/site_perl/5.8.0/PA-RISC2.0/auto/DBI -I'/other/mysql/include' -mpa-risc-2-0 -D_HPUX_SOURCE -fno-stri ct-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.9003\" -DXS_VERSION=\"2.9003\" -fP IC "-I/opt/perl/lib/5.8.0/PA-RISC2.0/CORE" dbdimp.c gcc -c -I/opt/perl/lib/site_perl/5.8.0/PA-RISC2.0/auto/DBI -I'/other/mysql/include' -mpa-risc-2-0 -D_HPUX_SOURCE -fno-stri ct-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.9003\" -DXS_VERSION=\"2.9003\" -fP IC "-I/opt/perl/lib/5.8.0/PA-RISC2.0/CORE" mysql.c Running Mkbootstrap for DBD::mysql () chmod 644 mysql.bs rm -f blib/arch/auto/DBD/mysql/mysql.sl LD_RUN_PATH="/other/mysql/lib:/lib" /opt/perl/bin/perl myld /usr/bin/ld -b -L/usr/local/lib dbdimp.o mysql.o -o blib/arch /auto/DBD/mysql/mysql.sl -L/other/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: "/other/mysql/lib/libmys qlclient.a(libmysql.o)". Make sure it was compiled with +z/+Z. *** Error exit code 1 Stop. Note the error: Unrecognized argument in LIBS ignored: '+Z' This stuff really shouldn't be this hard to compile.... Best Regards; Keith >From: Jochen Wiedmann >To: Keith Paschal >CC: perl@stripped >Subject: Re: DBD::mysql install issues on HPUX 11.0 >Date: Sat, 01 Nov 2003 11:46:37 +0100 > >Keith Paschal wrote: > >> libs (mysql_config) = -L/other/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: "/other/mysql/lib/libmys >>qlclient.a(libmysql.o)". Make sure it was compiled with +z/+Z. >>*** Error exit code 1 > >The message says it all: Try using the option > > --libs="-L/other/mysql/lib -lmysqlclient -lcrypt -lnsl -lm +z" > >or > > --libs="-L/other/mysql/lib -lmysqlclient -lcrypt -lnsl -lm +Z" > >when running "perl Makefile.PL". > > >Jochen > > > >-- >MySQL Perl Mailing List >For list archives: http://lists.mysql.com/perl >To unsubscribe: >http://lists.mysql.com/perl?unsub=sugiarto.Then@stripped > _________________________________________________________________ Send a QuickGreet with MSN Messenger http://www.msnmessenger-download.com/tracking/cdp_games