cdd hardcodes /usr/local/lib in the library search path. Which is, of 
course, totally wrong. 

A temp workaround is to move you /usr/local out of the way while building 
Sage...



On Tuesday, May 13, 2014 2:49:18 PM UTC+1, Dan Drake wrote:
>
> Hi, 
>
> I can't get 6.2 to build -- it keeps failing on cddlib. 
>
> The log is attached, but I'm pretty sure the key part is: 
>
> /bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -L/usr/local/lib 
> -L/var/tmp/ddrake/sage/local/lib  -o scdd_gmp simplecdd.o ../lib-src-gmp/
> libcddgmp.la -lgmp 
> libtool: link: gcc -g -O2 -o .libs/scdd_gmp simplecdd.o -L/usr/local/lib 
> -L/var/tmp/ddrake/sage/local/lib ../lib-src-gmp/.libs/libcddgmp.so 
> /var/tmp/ddrake/sage/local/lib/libgmp.so /usr/local/lib/libgmp.so 
> -Wl,-rpath -Wl,/var/tmp/ddrake/sage/local/lib 
> /usr/local/lib/libgmp.so: could not read symbols: File in wrong format 
>
> It looks like the linker is finding a system libgmp.so instead of the 
> one in Sage's tree. How do I get Sage to ignore it? 
>
> Thanks, 
>
>
> Dan 
>
> -- 
> ---  Dan Drake 
> -----  www.math.wisc.edu/~ddrake/ 
> ------- 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to