I removed all gmp related reinstalled gmp(32bit), compiled singular,  
reinstalled gmp(64bit) .. which automatically deinstalls (parts of)  
the 32bit version.
This worked. I hope singular only needed the 32-bit gmp for compiling  
and will not run in an problem now. We'll see.

Thanks,
Yves

Am 28.04.2008 um 18:17 schrieb Martin Costabel:
> Michael Brickenstein wrote:
>> Hi!
>> I have a question from Yves Edel.
>> He says, he can't compile Singular any more with 64 bit version of  
>> gmp  installed.
>> This shouldn't be a problem affecting only Singular.
>> The error messages indicate, as well as his message,
>> that /sw/lib/libgmp.dylib
>> is a 64BIT programm.
>
> This should be impossible. Singular BuildDepends on gmp (which is  
> the 32bit version), which Conflicts with gmp-64bit.
>
> But even if you have both gmp-shlibs and gmp-64bit-shlibs installed,  
> there is no problem, because only the 32bit version of libgmp. 
> 3.dylib is installed in /sw/lib/ and the 64bit version is installed  
> in /sw/lib/x86_64/.  The symlink  /sw/lib/libgmp.dylib comes from  
> gmp and always points at the 32bit dylib; the libgmp.dylib symlink  
> from gmp-64bit is installed in /sw/lib/x86_64/, so singular should  
> not even see it unless specially instructed.
>
> Here I am talking about the situation in the 10.4/unstable tree with  
> gmp-4.2.2-1001. In the stable tree, there is gmp-4.2.1-1003 which  
> does not have a 64bit variant and which is always built as 32bit.
>
> There are older versions of gmp floating around that are compiled  
> 32bit or 64bit, depending on the build machine. The error is perhaps  
> caused by such an older version.
>
> Another possibility is that ld, as is its habit, is lying about the  
> cause of the problem. Maybe Yves has a 64bit libgmp in /usr/local/ 
> lib and the one in /sw/lib/ is fine? What does file /sw/lib/ 
> libgmp.dylib say?
>
> -- 
> Martin

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to