#8279: cygwin: cliquer names the library incorrectly for cygwin
----------------------+-----------------------------------------------------
   Reporter:  was     |       Owner:  tbd       
       Type:  defect  |      Status:  new       
   Priority:  major   |   Milestone:  sage-4.3.3
  Component:  cygwin  |    Keywords:            
     Author:          |    Upstream:  N/A       
   Reviewer:          |      Merged:            
Work_issues:          |  
----------------------+-----------------------------------------------------
 Building the sage library fails because the cliquer shared object library
 is named incorrectly on cygwin.  It should be named with .dll but is named
 with .so.

 {{{
    [ ] fails not finding cliquer:
 gcc -shared -Wl,--enable-auto-image-base
 build/temp.cygwin-1.7.1-i686-2.6/sage/graphs/cliquer.o
 -L/home/wstein/build/sage-\
 4.3.3.alpha0/local//lib
 -L/home/wstein/build/sage-4.3.3.alpha0/local/lib/python2.6/config -lcsage
 -lcliquer -lstdc++ -lntl\
  -lpython2.6 -o build/lib.cygwin-1.7.1-i686-2.6/sage/graphs/cliquer.dll
 /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:
 cannot find -lcliquer
 collect2: ld returned 1 exit status
 error: command 'gcc' failed with exit status 1

   The problem is due to a misnamed library:

 $ cd local/lib/
 $ ls -lh *cliq*
 -rwxr-xr-x 1 wstein None 167K 2010-02-12 22:40 libcliquer.so
 $ ln -s libcliquer.so libcliquer.dll

 That works.
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8279>
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