#7823: libgcrypt-1.4.4.p1 references incorrect shared library on FreeBSD
-----------------------+----------------------------------------------------
Reporter: pjeremy | Owner: pjeremy
Type: defect | Status: new
Priority: major | Milestone: sage-4.3.1
Component: freebsd | Keywords:
Work_issues: | Author:
Upstream: N/A | Reviewer:
Merged: |
-----------------------+----------------------------------------------------
Chase shared library name difference on FreeBSD. Otherwise the gnutls
build fails similar to:
{{{
(cd /home/peter/sage/sage-4.3/spkg/build/gnutls-2.2.1.p4/src/libextra;
/bin/sh ../libtool --tag=CC --mode=relink gcc -std=gnu99 -g -O2
-D_REENTRANT -D_THREAD_SAFE -pipe
-I/home/peter/sage/sage-4.3/local/include -g -O2 -D_REENTRANT
-D_THREAD_SAFE -Wno-pointer-sign -no-undefined -L../lib/.libs
-L/home/peter/sage/sage-4.3/local/lib -lopencdk -L/usr/local/lib
-L/usr/local/lib -lgcrypt -L/usr/local/lib -lgpg-error -L/usr/local/lib
-lintl -L/usr/local/lib -liconv -L/home/peter/sage/sage-4.3/local/lib -lz
-R/home/peter/sage/sage-4.3/local/lib -R/usr/local/lib -version-info
27:2:1 -o libgnutls-extra.la -rpath /home/peter/sage/sage-4.3/local/lib
gnutls_extra.lo gnutls_openpgp.lo gnutls_ia.lo
openpgp/libgnutls_openpgp.la ../lgl/liblgnu.la ../lib/libgnutls.la
minilzo/libminilzo.la )
gcc -std=gnu99 -shared .libs/gnutls_extra.o .libs/gnutls_openpgp.o
.libs/gnutls_ia.o -Wl,--whole-archive openpgp/.libs/libgnutls_openpgp.a
../lgl/.libs/liblgnu.a minilzo/.libs/libminilzo.a -Wl,--no-whole-archive
-Wl,--rpath -Wl,/home/peter/sage/sage-4.3/local/lib -Wl,--rpath
-Wl,/usr/local/lib
-L/home/peter/sage/sage-4.3/spkg/build/gnutls-2.2.1.p4/src/lib/.libs
-L/home/peter/sage/sage-4.3/local/lib -lopencdk -L/usr/local/lib -lz
-lgcrypt -lintl -liconv -lgpg-error -lgnutls -Wl,-soname -Wl,libgnutls-
extra.so.27 -o .libs/libgnutls-extra.so.27
/usr/bin/ld: /home/peter/sage/sage-4.3/local/lib/libgcrypt.a(libgcrypt_la-
visibility.o): relocation R_X86_64_32 can not be used when making a shared
object; recompile with -fPIC
/home/peter/sage/sage-4.3/local/lib/libgcrypt.a: could not read symbols:
Bad value
libtool: install: error: relink `libgnutls-extra.la' with the above
command before installing it
*** Error code 1
Stop in /home/peter/sage/sage-4.3/spkg/build/gnutls-2.2.1.p4/src/libextra.
*** Error code 1
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7823>
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.