More information:
If I build a simple test program using libgmp, I can link to the
static libgmp.a in /usr/local/lib.
If I try to use the dynamic libraries I get an error about improper
architecture:
ld: warning: ignoring file /usr/local/lib/libgmp.a, file was built for
archive which is not the architecture being linked (x86_64)
Undefined symbols for architecture x86_64:
"___gmpz_init", referenced from:
_main in ccr4Ft1s.o
"___gmpz_clear", referenced from:
_main in ccr4Ft1s.o
"___gxx_personality_v0", referenced from:
Dwarf Exception Unwind Info (__eh_frame) in ccr4Ft1s.o
So does anyone know how I talk gcc into using the newly buil macports gmp?
The gmp test in configure.ac simply tries to link against gmp, and it
is finding the wrong one.
Craig
On Wed, Jul 27, 2011 at 08:19, Craig Earls <[email protected]> wrote:
> OS X 10.6.8 Macport 2.0.0 with all dependencies installed
>
> git cloned lates revsion and ran ./acprep dependencies which went
> fine. ./acprep update failed becuase it couldn't find gmp libraries.
> port installed show gmp @5.0.2_1 and gmp @5.0.2_1+universal (active).
>
> I searched through the message archives and found an old problem circa
> 2008 about not being able to find GMP, but my problem seems different.
>
> I tried using ledger 2.6.2 but it won't find included files, I believe
> this is a boost related problems.
>
> Any ideas?
>
> --
> Craig, Corona De Tucson, AZ
> 2008 Brunton Super Stalker
> 1989 BMW K75 Hannigan
> enderw88.wordpress.com
>
--
Craig, Corona De Tucson, AZ
2008 Brunton Super Stalker
1989 BMW K75 Hannigan
enderw88.wordpress.com