On 10/25/07, Robert Miller <[EMAIL PROTECTED]> wrote:
> I had installed sage-2.8.8.1, and at some point I renamed the
> directory to just "sage". Then I upgraded to sage-2.8.9, and when
> trying to build, I get the following error. Can someone tell me where
> to change the pointer "sage-2.8.8.1" to "sage", so I don't have to
> reinstall everything? I should also mention that when I renamed the
> directory, libgmp was giving couldn't-locate warnings on build, so
> this isn't just an upgrade failure.


Some things to try:

1.   mv sage sage-2.8.8.1

2.  mv sage to any other directory and try to start sage.

3.  Create a symlink:
  ln -s sage sage-2.8.8.1

> building 'sage.libs.ntl.ntl_GF2' extension
> g++ -bundle -undefined dynamic_lookup build/temp.macosx-10.3-i386-2.5/
> sage/libs/ntl/ntl_GF2.o -L/Users/robert/sage/local//lib -lcsage -
> lcsage -lntl -lstdc++ -lstdc++ -lntl -o build/lib.macosx-10.3-i386-2.5/
> sage/libs/ntl/ntl_GF2.so
> /usr/bin/ld: warning can't open dynamic library: /Users/robert/
> sage-2.8.8.1/local/lib/libgmp.3.dylib referenced from: /Users/robert/
> sage/local//lib/libcsage.dylib (checking for undefined symbols may be
> affected) (No such file or directory, errno = 2)
> /usr/bin/ld: warning can't open dynamic library: libpari-gmp.dylib
> referenced from: /Users/robert/sage/local//lib/libcsage.dylib
> (checking for undefined symbols may be affected) (No such file or
> directory, errno = 2)
> /usr/bin/ld: Undefined symbols:
> ___gmpn_add_n referenced from libntl expected to be defined in /Users/
> robert/sage-2.8.8.1/local/lib/libgmp.3.dylib
> (.... followed by many similar ....)
> ___gmpn_tdiv_qr referenced from libntl expected to be defined in /
> Users/robert/sage-2.8.8.1/local/lib/libgmp.3.dylib
> collect2: ld returned 1 exit status
> error: command 'g++' failed with exit status 1
> sage: There was an error installing modified sage library code.
>
>
> >
>


-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to