error occurred while installing libgcrypt-1.4.4.p2: undefined reference to symbol 'gpg_strerror'

1,276 views
Skip to first unread message

domingo.do...@gmail.com

unread,
May 28, 2010, 3:36:08 AM5/28/10
to sage-support
Hi to all,
I have installed the latest Fedora 13 with the latest sage 4.4.2 from
source. The computer architecture is 32 bits
and I install all the necessary compilers and libgpg-error-devel using
yum.
When I tried to build from source, it appears this message error:

gcc -I/home/Rohan/Software/sage/sage-4.4.2/local/include -O2 -g -Wall -
fvisibility=hidden -Wall -o .libs/register register.o ../src/.libs/
libgcrypt.so -Wl,--rpath -Wl,/home/Rohan/Software/sage/sage-4.4.2/
local/lib
/usr/bin/ld: register.o: undefined reference to symbol 'gpg_strerror'
/usr/bin/ld: note: 'gpg_strerror' is defined in DSO /home/Rohan/
Software/sage/sage-4.4.2/local/lib/libgpg-error.so.0 so try adding it
to the linker command line
/home/Rohan/Software/sage/sage-4.4.2/local/lib/libgpg-error.so.0:
could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[4]: *** [register] Error 1
make[4]: se sale del directorio `/home/Rohan/Software/sage/sage-4.4.2/
spkg/build/libgcrypt-1.4.4.p2/src/tests'
make[3]: *** [all-recursive] Error 1
make[3]: se sale del directorio `/home/Rohan/Software/sage/sage-4.4.2/
spkg/build/libgcrypt-1.4.4.p2/src'
make[2]: *** [all] Error 2
make[2]: se sale del directorio `/home/Rohan/Software/sage/sage-4.4.2/
spkg/build/libgcrypt-1.4.4.p2/src'
failed to build libgcrypt

real 0m29.726s
user 0m10.521s
sys 0m8.435s
sage: An error occurred while installing libgcrypt-1.4.4.p2

I have all the necessary packages and additionally libgpg-error and
libgpg-error-devel, could someone point
what I am doing wrong?
Cheers,
Domingo

Mike Hansen

unread,
May 28, 2010, 5:01:35 PM5/28/10
to sage-s...@googlegroups.com
On Fri, May 28, 2010 at 12:36 AM, domingo.do...@gmail.com
<domingo.do...@gmail.com> wrote:
> I have all the necessary packages and additionally libgpg-error and
> libgpg-error-devel, could someone point
> what I am doing wrong?

There seems to be a problem with libgcrypt on Fedora 13. It looks
like someone found a fix at
http://forum.videolan.org/viewtopic.php?f=13&t=33860#p121003 . We
will try to get this fixed for the next release of Sage.

--Mike

domingo.do...@gmail.com

unread,
May 29, 2010, 1:34:57 PM5/29/10
to sage-support
Thank you very much!
That has worked!
Cheers,
Domingo


On 28 mayo, 23:01, Mike Hansen <mhan...@gmail.com> wrote:
> On Fri, May 28, 2010 at 12:36 AM, domingo.domingogo...@gmail.com
>
> <domingo.domingogo...@gmail.com> wrote:
> > I have all the necessary packages and additionally libgpg-error and
> > libgpg-error-devel, could someone point
> > what I am doing wrong?
>
> There seems to be a problem with libgcrypt on Fedora 13.  It looks
> like someone found a fix athttp://forum.videolan.org/viewtopic.php?f=13&t=33860#p121003.  We
Reply all
Reply to author
Forward
0 new messages