compiling gcc q's
Jerry Feldman
gaf at blu.org
Tue Jan 13 15:33:01 EST 2009
On 01/12/2009 11:31 AM, Mark Komarinski wrote:
> bruce.labitt at autoliv.com wrote:
>
>> /usr/bin/ld: skipping incompatible /usr/local/lib/libmpfr.so when
>> searching for -lmfpr
>> .
>> .
>> .
>> /usr/bin/ld: skipping incompatible /usr/local/lib/libgmp.a when searching
>> for -lgmp
>>
>> Yes, it says it is incompatible. How does one make it compativble?
>>
>
> Are you sure that /usr/local/lib/libgmp.a is the right architecture?
> I've run into that a few times when compiling 64-bit apps when 32-bit
> libraries were installed.
>
Just to add to this, 32-bit libraries should be in /usr/lib or
/usr/local/lib and 64-bit libraries should be in /usr/lib64 and
/usr/local/lib64.
--
Jerry Feldman <gaf at blu.org>
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB CA3B 4607 4319 537C 5846
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20090113/dd6dd61b/attachment.bin
More information about the gnhlug-discuss
mailing list