Singular
https://www.singular.uni-kl.de/forum/

problem calling libsingular-3-0-4-3/libsingular from c++
https://www.singular.uni-kl.de/forum/viewtopic.php?f=10&t=2203
Page 1 of 1

Author:  DavidF [ Thu Dec 20, 2012 2:41 pm ]
Post subject:  problem calling libsingular-3-0-4-3/libsingular from c++

Hi,

I'm trying to dynamically compile libsingular-3-0-4-3 and libsingular; these are installed in a cluster.
I compile including the libraries with
g++ -o output -ldl -lsingular file.c -I /usr/include/singular/ -I /usr/include/singular/singular

but I get the following errors:

/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libsingular-3-0-4-3.so: undefined reference to `omPrintUsedTrackAddrs'
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libsingular-3-0-4-3.so: undefined reference to `omPrintUsedAddrs'
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libsingular-3-0-4-3.so: undefined reference to `_omDebugFree'
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libsingular-3-0-4-3.so: undefined reference to `omPrintCurrentBackTraceMax'
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libsingular-3-0-4-3.so: undefined reference to `omMarkAsStaticAddr'

Neither the cluster administrator nor I know of to fix this. Do you have any suggestion?

Best regards,

David

Author:  Guest [ Thu Dec 20, 2012 4:17 pm ]
Post subject:  Re: problem calling libsingular-3-0-4-3/libsingular from c++

Try a newer version, Singular 3-0-4 dates from 2007
The current version is 3-1-5 and 3-1-6 is going to be released.

Author:  Guest [ Fri Dec 21, 2012 12:19 pm ]
Post subject:  Re: problem calling libsingular-3-0-4-3/libsingular from c++

Guest wrote:
Try a newer version, Singular 3-0-4 dates from 2007
The current version is 3-1-5 and 3-1-6 is going to be released.



But can this versions be installed without cores, just to access the libraries?

Author:  gorzel [ Fri Dec 21, 2012 4:11 pm ]
Post subject:  Re: problem calling libsingular-3-0-4-3/libsingular from c++

What does 'cores' mean? Probably you meant 'sources' ?
Quote:
But can this versions be installed without cores, just to access the libraries?

A similar question had been asked on
viewtopic.php?f=10&t=1940&start=0&hilit=libsingular

You will find the sources on the server either here
http://www.singular.uni-kl.de/index.php ... -code.html
or as a tar file on the ftp-server:
http://www.mathematik.uni-kl.de/ftp/pub/Math/Singular/

Install libsingular following the HOWTO-libsingular on
http://www.singular.uni-kl.de/svn/trunk ... ibsingular

The kernel-developper (Singular team) seems to be already on christmas vacation,
so help is limited for the moment.

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/