On 24 Okt., 16:32, Manuel Werner Luethi <manuellue...@gmail.com> wrote: > I intended to compile SAGE on Ubuntu 11.10 but during make there was an > error. [...] > ../kernel/libkernel.a(mod_raw.o): In function `dynl_open': > /home/USER/Desktop/sage-4.7.1/spkg/build/singular-3-1-1-4.p12/src/kernel/mo > d_raw.cc:217: > > undefined reference to `dlopen' > ../kernel/libkernel.a(mod_raw.o): In function `dynl_sym': > /home/USER/Desktop/sage-4.7.1/spkg/build/singular-3-1-1-4.p12/src/kernel/mo > d_raw.cc:228: > > undefined reference to `dlsym' > ../kernel/libkernel.a(mod_raw.o): In function `dynl_close': > /home/USER/Desktop/sage-4.7.1/spkg/build/singular-3-1-1-4.p12/src/kernel/mo > d_raw.cc:233: > > undefined reference to `dlclose' > ../kernel/libkernel.a(mod_raw.o): In function `dynl_error': > /home/USER/Desktop/sage-4.7.1/spkg/build/singular-3-1-1-4.p12/src/kernel/mo > d_raw.cc:238: > > undefined reference to `dlerror' > collect2: ld returned 1 exit status > make[4]: *** [iparith.inc] Error 1 > make[4]: Leaving directory > `/home/USER/Desktop/sage-4.7.1/spkg/build/singular-3-1-1-4.p12/src/Singular ' > make[3]: *** [install] Error 1 > make[3]: Leaving directory > `/home/USER/Desktop/sage-4.7.1/spkg/build/singular-3-1-1-4.p12/src' > make[2]: *** [/home/USER/Desktop/sage-4.7.1/local/bin/Singular-3-1-1] > Error 2 > make[2]: Leaving directory > `/home/USER/Desktop/sage-4.7.1/spkg/build/singular-3-1-1-4.p12/src' > Unable to build Singular.
This is fixed in a new Singular (3-1-3-3) spkg which is part of Sage 4.7.2 (the final not yet released; we're at rc0). A trivial work-around is to $ export LDFLAGS="-ldl" (Then resume the build by typing 'make'.) You'll also have to use a different (i.e. new) Symmetrica spkg [1] on Oneiric Ocelot for almost the same reason, namely stricter linker semantics or the order in which libraries have to be passed. Copying the new spkg into $SAGE_ROOT/spkg/standard/ suffices (before running 'make' again.) [See also http://groups.google.com/group/sage-devel/browse_thread/thread/9dff5222184f7645/35cdcf703bc92f4f#35cdcf703bc92f4f .] In case you run into an error configuring R with readline, see sage- release for a possible work-around [2]. -leif [1] http://sage.math.washington.edu/home/leif/Sage/spkgs/symmetrica-2.0.p7.spkg [2] http://groups.google.com/group/sage-release/browse_thread/thread/0f779465055c9162/409081129558a8e1#409081129558a8e1 -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org