I had libc6-dev installed. Nothing was installed in /usr/local. That's why 
sage failed to compile - it was looking in /usr/local/ for libcrypt.so and 
couldn't find it.
I made a symbolic link from /usr/lib to /usr/local so that sage could find 
it and compile

the relevent log part was:
gcc -pthread -shared -L/opt/sagemath/local/lib -L/opt/sagemath/local/lib 
-fno-strict-aliasing -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall 
-Wstrict-prototypes -I. -IInclude -I./Include -I/opt/sagemath/local/include 
build/temp.linux-x86_64-2.7/opt/sagemath/spkg/build/python-2.7.3.p0/src/Modules/cryptmodule.o
 
-L/opt/sagemath/local/lib *-L/usr/local/lib* -L. -lpython2.7 -o 
build/lib.linux-x86_64-2.7/crypt.so
*** WARNING: renaming "crypt" since importing it failed: 
build/lib.linux-x86_64-2.7/crypt.so: undefined symbol: crypt
 

> debian will not install anything in /usr/local.
> http://packages.debian.org/cgi-bin/search_contents.pl?word=libcrypt.so
> will tell you that you apparently don't have libc6-dev installed.
>
> I would be afraid of a dodgy libcrypt.so sitting in /usr/local for no 
> reason...
>

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to