#12934: Build libtermcap*.so instead of (or in addition to) libtermcap.a
----------------------------+-----------------------------------------------
       Reporter:  was       |         Owner:  tbd     
           Type:  defect    |        Status:  new     
       Priority:  critical  |     Milestone:  sage-5.1
      Component:  packages  |    Resolution:          
       Keywords:            |   Work issues:          
Report Upstream:  N/A       |     Reviewers:          
        Authors:            |     Merged in:          
   Dependencies:            |      Stopgaps:          
----------------------------+-----------------------------------------------

Old description:

> Some components of Sage, e.g., libsingular, link in the systemwide
> libtermcap.so dynamically instead of statically linking the libtermcap.a
> that is built by the Sage termcap spkg.  This is a *big problem* when
> building a binary on a system that has libtermcap.so and trying to run it
> on another system that does not have that so.
>
> Solution?: Modifying the spkg-install script for termcap so it also
> builds the so libraries.
>
>  * See also #12725, which changes the termcap spkg...   T

New description:

 Some components of Sage, e.g., libsingular, link in the systemwide
 libtermcap.so dynamically instead of statically linking the libtermcap.a
 that is built by the Sage termcap spkg.  This is a *big problem* when
 building a binary on a system that has libtermcap.so and trying to run it
 on another system that does not have that so.

 Solution?: Modifying the spkg-install script for termcap so it also builds
 the so libraries.

  * See also #12725, which changes the termcap spkg...

--

Comment (by jdemeyer):

 The version of termcap in Sage (i.e. the official upstream version) does
 not support building shared libraries.  So, I am a bit surprised to see
 the file `libtermcap.so` appear on your system.  Could you try whether the
 spkg from #12725 fixes the problem?  i.e. build termcap from #12725 and
 then rebuild Singular and check whether `local/lib/libsingular.so` still
 links against `libtermcap.so`

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12934#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to