../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
-------
Hi
I don't think you are doing anything silly it is just plain weird. In singular
you have "-ldl" on the compilation line which should have the stuff in
question. So is /usr/lib/libdl.{a,so} on your system?
What about /usr/lib/libm.{a,so}?
I think it is weird it doesn't fail because of libm before symmetrica.
Can you provide a list of package that build before singular?
Francois
This email may be confidential and subject to legal privilege, it may not reflect the views of the University of Canterbury, and it is not guaranteed to be virus free. If you are not an intended recipient, please notify the sender immediately and erase all copies of the message and any attachments. Please refer to http://www.canterbury.ac.nz/emaildisclaimer for more information.
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'"!