View Issue Details

IDProjectCategoryView StatusLast Update
0001864gnunet-gtkbuild systempublic2011-10-31 18:31
ReporterMatthias Wachs Assigned ToChristian Grothoff  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionno change required 
PlatformUbuntu 11.04 
Summary0001864: Wrong path to libgrypt.la
Description/bin/sed: can't read /lib/x86_64-linux-gnu/libgcrypt.la: No such file or directory

/usr/lib/x86_64-linux-gnu/libgcrypt.la

no way to configure it with configure
TagsNo tags attached.

Activities

Christian Grothoff

2011-10-29 12:15

manager   ~0004790

That's likely some other 'la' file on your system which specifies this path (i.e. libmicrohttpd.la or libcurl.la or libgnutls.la are common candidates, depending on which ones you played around with in the past). Delete the '.la' file on your OS that contains the bad path, and the problem will disappear.

Matthias Wachs

2011-10-29 17:31

reporter   ~0004795

Yeah maybe.. but the system was a fresh installed Ubuntu 11.04

all libs from ubuntu installed with apt-get including libgrcypt

only things I installed by hand was
Extractor
libmicrohttpd
gnunet

so one of these things breaks the libgcrypt.la and "normal" users (not developers willing to fix that or paid to spend time on that issue ;-) ) cannot install it

Christian Grothoff

2011-10-29 17:59

manager   ~0004797

Well, do you know WHICH '.la' file includes the bogus path to libgcyrpt.la?

Matthias Wachs

2011-10-30 13:58

reporter   ~0004800

mwachs@fulcrum:/lib/x86_64-linux-gnu$ ls -l /usr/lib/x86_64-linux-gnu/*gcryp*
-rw-r--r-- 1 root root 901392 2011-03-22 21:00 /usr/lib/x86_64-linux-gnu/libgcrypt.a
-rw-r--r-- 1 root root 833 2011-03-22 21:00 /usr/lib/x86_64-linux-gnu/libgcrypt.la
lrwxrwxrwx 1 root root 41 2011-05-05 15:01 /usr/lib/x86_64-linux-gnu/libgcrypt.so -> /lib/x86_64-linux-gnu/libgcrypt.so.11.6.0
mwachs@fulcrum:/lib/x86_64-linux-gnu$

Matthias Wachs

2011-10-30 13:58

reporter   ~0004801

libgrypct.so is linked to /lib/x86_66 ... but not the .la

Matthias Wachs

2011-10-30 13:59

reporter   ~0004802

the issue on fulcrum.net.in.tum.de

Christian Grothoff

2011-10-30 16:13

manager   ~0004803

That does not answer my question, which was WHERE the file is that contains the reference to the '.la' file. I'm not interested in that the '.la' file is missing. Some file contains the string "/usr/lib/x86_64-linux-gnu/libgcrypt.la'. Which file is that?

Matthias Wachs

2011-10-31 16:52

reporter   ~0004808

The .la file having the wrong reference to /lib/x86_64-linux-gnu/libgcrypt.la
is gnunet-gtk/src/lib/libgnunetgtk.la

libgcrypt is installed in /lib

# Libraries that this one depends upon.
dependency_libs=' /opt/gnunet/gnb-head/lib/libgnunetutil.la -L/lib/x86_64-linux-gnu

/lib/x86_64-linux-gnu/libgcrypt.la

/usr/lib/libltdl.la -lz -ldl -L/usr/lib/x86_64-linux-gnu -L/opt/gnunet/gnb-head/lib -lgladeui-1 /usr/lib/libxml2.la /usr/lib/libgtk-x11-2.0.la /usr/lib/libgdk-x11-2.0.la /usr/lib/x86_64-linux-gnu/libatk-1.0.la /usr/lib/x86_64-linux-gnu/libgio-2.0.la /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.la /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.la -lgdk_pixbuf-2.0 -lm /usr/lib/libcairo.la /usr/lib/x86_64-linux-gnu/libpango-1.0.la /usr/lib/x86_64-linux-gnu/libfreetype.la -lfontconfig /usr/lib/x86_64-linux-gnu/libgobject-2.0.la /usr/lib/x86_64-linux-gnu/libgmodule-2.0.la /usr/lib/x86_64-linux-gnu/libgthread-2.0.la -lrt /usr/lib/x86_64-linux-gnu/libglib-2.0.la'

Matthias Wachs

2011-10-31 16:54

reporter   ~0004809

Interessting: libgcrypt11 installs to /lib/x86_64-linux-gnu but has no .la

mwachs@herrena:/$ dpkg -L libgcrypt11
/.
/lib
/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu/libgcrypt.so.11.6.0
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libgcrypt11
/usr/share/doc/libgcrypt11/THANKS.gz
/usr/share/doc/libgcrypt11/README.gz
/usr/share/doc/libgcrypt11/NEWS.gz
/usr/share/doc/libgcrypt11/copyright
/usr/share/doc/libgcrypt11/AUTHORS.gz
/usr/share/doc/libgcrypt11/TODO
/usr/share/doc/libgcrypt11/changelog.Debian.gz
/lib/x86_64-linux-gnu/libgcrypt.so.11
mwachs@herrena:/$

Matthias Wachs

2011-10-31 16:55

reporter   ~0004810

mwachs@herrena:/$ dpkg -L libgcrypt11-dev
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libgcrypt11-dev
/usr/share/doc/libgcrypt11-dev/copyright
/usr/share/aclocal
/usr/share/aclocal/libgcrypt.m4
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/dumpsexp.1.gz
/usr/share/man/man1/libgcrypt-config.1.gz
/usr/include
/usr/include/gcrypt-module.h
/usr/include/gcrypt.h
/usr/bin
/usr/bin/hmac256
/usr/bin/libgcrypt-config
/usr/bin/dumpsexp
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libgcrypt.a
/usr/lib/x86_64-linux-gnu/libgcrypt.la
/usr/share/doc/libgcrypt11-dev/THANKS.gz
/usr/share/doc/libgcrypt11-dev/README.gz
/usr/share/doc/libgcrypt11-dev/NEWS.gz
/usr/share/doc/libgcrypt11-dev/AUTHORS.gz
/usr/share/doc/libgcrypt11-dev/TODO
/usr/share/doc/libgcrypt11-dev/changelog.Debian.gz
/usr/lib/x86_64-linux-gnu/libgcrypt.so

Christian Grothoff

2011-10-31 18:28

manager   ~0004812

You should have done 'make clean' in gnunet-gtk. You have some leftovers from a previous installation on a version of your OS that HAD the .la file.

Issue History

Date Modified Username Field Change
2011-10-28 21:40 Matthias Wachs New Issue
2011-10-29 12:15 Christian Grothoff Note Added: 0004790
2011-10-29 12:15 Christian Grothoff Assigned To => Christian Grothoff
2011-10-29 12:15 Christian Grothoff Status new => closed
2011-10-29 12:15 Christian Grothoff Resolution open => no change required
2011-10-29 17:31 Matthias Wachs Note Added: 0004795
2011-10-29 17:31 Matthias Wachs Status closed => feedback
2011-10-29 17:31 Matthias Wachs Resolution no change required => reopened
2011-10-29 17:59 Christian Grothoff Note Added: 0004797
2011-10-30 13:55 Matthias Wachs Status feedback => assigned
2011-10-30 13:58 Matthias Wachs Note Added: 0004800
2011-10-30 13:58 Matthias Wachs Note Added: 0004801
2011-10-30 13:59 Matthias Wachs Note Added: 0004802
2011-10-30 16:13 Christian Grothoff Note Added: 0004803
2011-10-30 21:00 Christian Grothoff Status assigned => feedback
2011-10-31 16:52 Matthias Wachs Note Added: 0004808
2011-10-31 16:52 Matthias Wachs Status feedback => assigned
2011-10-31 16:54 Matthias Wachs Note Added: 0004809
2011-10-31 16:55 Matthias Wachs Note Added: 0004810
2011-10-31 18:28 Christian Grothoff Note Added: 0004812
2011-10-31 18:31 Christian Grothoff Status assigned => closed
2011-10-31 18:31 Christian Grothoff Resolution reopened => no change required