On Dec 8, 2:23 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> Hi,
Hi,
> I noticed that the biggest .a file in the sage install is
> libgroebner.a followed by libsymmetrica and libntl:
>
> [EMAIL PROTECTED]:~/build/sage-3.2.2.alpha0/local/lib$ du -sc *.a |sort -n
> 12140 libgsl.a
> 17192 libntl.a
> 27256 libsymmetrica.a
> 27372 libgroebner.a
> 163484 total
>
> Notice that we have the .so:
>
> [EMAIL PROTECTED]:~/build/sage-3.2.2.alpha0/local/lib$ ls -l libgroebner*
> lrwxrwxrwx 1 was was 22 2008-12-05 12:07 libgroebner-0.5.0.so ->
> libgroebner-0.5.0.so.0
> lrwxrwxrwx 1 was was 26 2008-12-05 12:07 libgroebner-0.5.0.so.0
> -> libgroebner-0.5.0.so.0.0.0
> -rwxr-xr-x 1 was was 14672037 2008-12-05 12:07 libgroebner-0.5.0.so.0.0.0
> -rw-r--r-- 1 was was 27993260 2008-12-05 12:03 libgroebner.a
> [EMAIL PROTECTED]:~/build/sage-3.2.2.alpha0/local/lib$
>
> Using strings, I think libgroebner is actually Polybori. So, do we
> need libgroenber.a?
Yes, it is strange that we do not delete libgroebner*.so because at
least we do attempt to. We cannot link libgroebner and its friends
CuDD and polybori dynamically sind that leads top double frees at
exit. Linking the static libraries instead avoids the problem. The
problem has been reported upstream, but I have not checked on its
status.
> William
>
> --
Cheers,
Michael
> William Stein
> Associate Professor of Mathematics
> University of Washingtonhttp://wstein.org
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---