Posted by Don Morris on 11/09/07 02:21
Jerry Stuckle wrote:
> byron wrote:
>> I've downloaded the 64bit gcc compiler since the mysql installed is
>> the 64bit option but now I'm getting the following error
>>
>> #./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/
>> usr/local/mysql
>>
>> configure:60026: checking for mysql_errno in -lmysqlclient
>> configure:60045: gcc -o conftest -I/usr/local/include -mgnu-ld -
>> D_XOPEN_SOURCE_EXTENDED -L/usr/local/mysql/lib -L/usr/local/mysql/lib -
>> L/usr/local/lib -L/usr/local/lib -L/usr/local/lib conftest.c -
>> lmysqlclient -lz -lm -lnsl -lxml2 -lz -liconv -lm -lxml2 -lz -liconv
>> -lm 1>&5
>> ld: Mismatched ABI (not an ELF file) for -lxml2
>> Fatal error.
>> collect2: ld returned 1 exit status
>>
>
> Offhand I would say your xml2 library is not the correct format for your
> compiler.
>
Not really the compiler I think -- but that's definitely a sign that
xml2 is a 32-bit library which he's trying to link in with a 64-bit
compilation [being 11.11 this is PA, and PA 32-bit is SOM while
64-bit is ELF so that's really clear here...]
Byron -- see if you can't get a 64-bit xml2 library or recompile it as
64-bit. [Side comment -- how many times does this crazy thing need to
have /usr/local/lib in the link path.. as well as specifying the math
library 3 different times!]
Don
Navigation:
[Reply to this message]
|