**Matt, sorry, I didn't realize i replied directly to you** >> perl Makefile.PL DEBUG=1 LIBS="-L/usr/local/lib" INC="-I/usr/local/include" >> CC=gcc
>You can't just forcibly change the CC for a perl module. Well, you can, >but it's fraught with problems. hmmmm what would you suggest I do? I don't think the powers-that-be will foot the bill for IBM's CC >Perhaps ld is not gnu ld, and thus can't find your compiled libiconv? Do >you have iconv installed? ld is most likely not gnu ld, I will install the gnu version (well try, sometimes the dependencies are like 6 levels deep) is iconv part of the libiconv library? -- <!-- Matt --> <:->get a SMart net</:-> Spam trap - do not mail: [EMAIL PROTECTED] -----Original Message----- From: Matt Sergeant [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 9:47 AM To: Matt Eberhardt Cc: '[EMAIL PROTECTED]' Subject: Re: my last resort On Wed, 16 Jul 2003, Matt Eberhardt wrote: > Hi.. new to the list... > I have been trying to get axkit to work for about 2 weeks now so this is > pretty much my last hope. I apologize for the length of this email > Here is my background: > > This is an AIX 4.3 box > I have installed the following (most compiled with GCC, some using AIX > package managment): > GCC 2.95.3 (cc was not installed on this box) > Perl 5.005_03 > Mod_Perl 1.28 > Apache 1.3.27 (didn't like the apache that AIX came with, had problems > getting mod_perl installed) > libxml2-2.5.8 > expat-1.95.6 > xml-parser-2.31 > libiconv-1.8 > > So, finally, have enough installed to try to get axkit compiled and running > Note, trying to get axkit installed using MCPAN will fail because it is > trying to use cc as the compiler, not gcc > > so this is what I run for AxKit: > > perl Makefile.PL DEBUG=1 LIBS="-L/usr/local/lib" INC="-I/usr/local/include" > CC=gcc You can't just forcibly change the CC for a perl module. Well, you can, but it's fraught with problems. > Running Mkbootstrap for Conftest () > chmod 644 Conftest.bs > LD_RUN_PATH="/usr/local/lib:/lib" ld -o > blib/arch/auto/Conftest/Conftest > .so -bhalt:4 -bM:SRE -bI:/usr/opt/perl5/lib/5.00503/aix/CORE/perl.exp > -bE:Conft > est.exp -b noentry -lc Conftest.o -liconv -L/usr/local/lib -lxml2 > -lpthread -l > iconv -lm > ld: 0711-317 ERROR: Undefined symbol: .iconv > ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more > information. > make: 1254-004 The error code from the last command is 8. > > I googled all over for the -qmaxmem and what I believe the problem is that > some libraries were compiled with CC and all the stuff I added was compiled > with GCC and obviously problems are ensuing > Is this correct? > > I am not sure what the deal with the undefined symbol: .iconv is, I have > installed libiconv Perhaps ld is not gnu ld, and thus can't find your compiled libiconv? Do you have iconv installed? -- <!-- Matt --> <:->get a SMart net</:-> Spam trap - do not mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
