I thought I would try to see if Sage builds in the upcoming version of
Ubuntu, which is still early in the development stages but I think the
compilers and other basic system stuff are stable. But there's some kind
of linker error:

../kernel/libkernel.a(mod_raw.o): In function `dynl_open':
/home/foo/sage-4.6.2.alpha4/spkg/build/singular-3-1-1-4.p3/src/kernel/mod_raw.cc:217:
 undefined reference to `dlopen'
../kernel/libkernel.a(mod_raw.o): In function `dynl_sym':
/home/foo/sage-4.6.2.alpha4/spkg/build/singular-3-1-1-4.p3/src/kernel/mod_raw.cc:228:
 undefined reference to `dlsym'
../kernel/libkernel.a(mod_raw.o): In function `dynl_close':
/home/foo/sage-4.6.2.alpha4/spkg/build/singular-3-1-1-4.p3/src/kernel/mod_raw.cc:233:
 undefined reference to `dlclose'
../kernel/libkernel.a(mod_raw.o): In function `dynl_error':
/home/foo/sage-4.6.2.alpha4/spkg/build/singular-3-1-1-4.p3/src/kernel/mod_raw.cc:238:
 undefined reference to `dlerror'
collect2: ld returned 1 exit status

(Full build log attached.)

This seems like a pretty basic linking / libc problem:
http://www.linuxquestions.org/questions/slackware-14/undefined-reference-to-dlopen-dlclose-dlsym-and-dlerror-350945/.

I tried to continue the build without Singular just to see what else
worked, and also got a linker error there too -- with symmetrica, it
eventually failed  with "undefined reference to `cos'"!

The build system is a current Ubuntu Natty (11.04) 32-bit virtual
machine. Any ideas on what's going wrong? Is this an Ubuntu problem that
will get fixed before the final release, or something we need to work
on? (Or something silly on my part?)

Thanks,

Dan

--
---  Dan Drake
-----  http://mathsci.kaist.ac.kr/~drake
-------

Attachment: singular-3-1-1-4.p3.log.gz
Description: Binary data

Attachment: signature.asc
Description: Digital signature

Reply via email to