#12104: Cygwin import problem with randstate
------------------------+---------------------------------------------------
   Reporter:  kcrisman  |          Owner:  tbd     
       Type:  defect    |         Status:  new     
   Priority:  major     |      Milestone:  sage-4.8
  Component:  cygwin    |       Keywords:          
Work_issues:            |       Upstream:  N/A     
   Reviewer:            |         Author:          
     Merged:            |   Dependencies:          
------------------------+---------------------------------------------------

Comment(by dimpase):

 Replying to [comment:3 kcrisman]:
 > See #9167 for an example of how to use cygcheck.  I'd do a cygcheck on
 {{{sage-4.7.2/local/lib/python2.6/site-
 > packages/sage/ext/c_lib.dll}}}.  Or wherever that file is "supposed" to
 be.   This may point out some other missing file, perhaps something we
 need to add to Cygwin we didn't know about.

 Some of the linking is screwed up. For instance:
 {{{
 $ cygcheck ./csage.dll
 C:\cygwin\usr\local\sage\sage-4.7.2\local\lib\csage.dll
   C:\cygwin\bin\cygwin1.dll
     C:\Windows\system32\ADVAPI32.DLL
       C:\Windows\system32\msvcrt.dll
  [.... lots of system stuff ...]
   C:\cygwin\bin\cyggcc_s-1.dll
   C:\cygwin\bin\cygstdc++-6.dll
   C:\cygwin\usr\local\sage\sage-4.7.2\local\bin\cyggmp-3.dll
   C:\cygwin\usr\local\sage\sage-4.7.2\local\bin\libpython2.6.dll
 cygcheck: track_down: could not find libntl.dll
 }}}

 And on c_lib.dll cygcheck also reports that it can't find libntl.dll

 Indeed, there is no libntl.dll. There is an .dll.a file, despite the fact
 that it's a dynamic library. Some misnaming has occurred. Renaming
 local/lib/libntl.dll.a to
 local/lib/libntl.dll fixes this particular error.
 Fortunately, the other *dll.a files are actual archive files, I checked
 this. So this   should be traced to the ntl spkg.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12104#comment:5>
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