#9431: opencdk spkg should add $SAGE_LOCAL/lib to LDFLAGS
-----------------------+----------------------------------------------------
   Reporter:  rlm      |       Owner:  GeorgSWeber
       Type:  defect   |      Status:  new        
   Priority:  blocker  |   Milestone:  sage-4.5   
  Component:  build    |    Keywords:             
     Author:           |    Upstream:  N/A        
   Reviewer:           |      Merged:             
Work_issues:           |  
-----------------------+----------------------------------------------------

Comment(by wjp):

 Some relevant lines in the build log:

 {{{
 /bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall -Wcast-align
 -Wshadow -Wstrict-prototypes -no-install  -o t-stream t-stream.o
 ../src/libopencdk.la -lgcrypt -lz

 gcc -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -o t-stream
 t-stream.o  ../src/.libs/libopencdk.so /usr/lib64/libgcrypt.so -lz -Wl,--
 rpath
 -Wl,/data2/wpalenst/sage-4.4.4/spkg/build/opencdk-0.6.6.p4/src/src/.libs
 -Wl,--rpath -Wl,/data2/wpalenst/sage-4.4.4/local/lib
 ../src/.libs/libopencdk.so: undefined reference to
 `gcry_cipher_set...@gcrypt_1.2'
 ../src/.libs/libopencdk.so: undefined reference to
 `gcry_cipher_se...@gcrypt_1.2'
 }}}

 On another machine on which I've tried, opencdk also ended linking its
 tests against /usr/lib64/libgcrypt.so, but it didn't cause an error there.

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