On 2 Sep., 09:52, Dan Drake <dr...@kaist.edu> wrote:
> On Thu, 01 Sep 2011 at 12:28AM -0700, leif wrote:
> > The problem with Singular is the order of '-ldl' and '-lkernel'; the
> > latter uses the former, so the order has to be flipped. Haven't yet
> > checked whether this is already fixed in a *current* upstream release
> > (we're still at 3-1-1-4, upstream is 3-1-3 IIRC). Hopefully Sage's
> > version will be upgraded during Sage/Singular Days (SD34) at the end
> > of this month.
>
> > An ugly work-around is to set LDFLAGS='ldl'
>
> I can confirm that by using the LDFLAGS workaround and fiddling with the
> Symmetrica makefile, both spkgs compile, and the resulting Sage build
> passes all tests on my Oneiric VM.


Doesn't look like they've already fixed this upstream, at least not in
the latest stable release. (Haven't checked the svn, but also didn't
see anything related on their trac.)

It should be sufficient to check whether


export CFLAGS=-fPIC
export CXXFLAGS=-fPIC

wget 
http://www.mathematik.uni-kl.de/ftp/pub/Math/Singular/SOURCES/3-1-3/Singular-3-1-3-2.tar.gz
&&

tar xzf Singular-3-1-3-2.tar.gz &&

cd Singular-3-1-3/ &&
./configure --prefix=/tmp/foo &&
make


works to verify that this is still an issue, of course *without*
having LDFLAGS set to "-ldl". (Some other targets should fail in the
same way.)


-leif

-- 
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

Reply via email to