First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 27100
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Spider (RETIRED) <spider@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Michael Witrant <mike.pub@lepton.fr>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gnunet.log log emerge gnunet text/plain Michael Witrant 2003-08-23 20:06 0000 179.42 KB Details
gnunet.log emerge log text/plain Michael Witrant 2003-08-23 20:09 0000 179.42 KB Details
gnunet.ebuild.patch ebuild patch proposal patch Michael Witrant 2003-08-24 07:05 0000 421 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 27100 depends on: Show dependency tree
Bug 27100 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-08-22 02:38 0000
gnunetd and gnunet-* programs try to load inexistant libraries like
libgnunetcommon or libgnunetafs_util.

Reproducible: Always
Steps to Reproduce:
1.emerge gnunet
2.gnunetd -d
3.gnunet-stats

Actual Results:  
emerge works, but the others fail:
root@mike:~# gnunetd -d    
Aug 22 11:23:56 WARNING: scanDirectory /var/lib/GNUnet/data/hosts/ returned no
known hosts!
Aug 22 11:23:56 Could not open library libgnunettransport_udp (file not found)!
Aug 22 11:23:56 __BREAK__ at logging.c:226
root@mike:~# gnunet-stats 
gnunet-stats: error while loading shared libraries: libgnunetcommon.so.0: cannot
open shared object file: No such file or directory



All other gnunet-* programs fail, but sometimes on different libraries:
root@mike:~# gnunet-chat 
gnunet-chat: error while loading shared libraries: libgnunetcommon.so.0: cannot
open shared object file: No such file or directory
root@mike:~# gnunet-check
gnunet-check: error while loading shared libraries: libgnunetafs_database.so.0:
cannot open shared object file: No such file or directory
root@mike:~# gnunet-delete  
gnunet-delete: error while loading shared libraries: libgnunetafs_util.so.0:
cannot open shared object file: No such file or directory
root@mike:~# gnunet-search   
gnunet-search: error while loading shared libraries: libgnunetafs_util.so.0:
cannot open shared object file: No such file or directory

Here are the libs I found on my system:
root@mike:~# find /usr -name 'libgnunet*'      
/usr/lib/libgnunetutil.so.0
/usr/lib/libgnunetutil.so
/usr/lib/libgnunetutil.so.0.0.0
/usr/lib/libgnunetutil.la
/usr/lib/libgnunetafs_database_bdb.so.0
/usr/lib/libgnunetafs_database_bdb.so.0.0.0
/usr/lib/libgnunetafs_database_bdb.so
/usr/lib/libgnunetafs_database_gdbm.so.0
/usr/lib/libgnunetafs_database_bdb.la
/usr/lib/libgnunetafs_database_directory.so.0
/usr/lib/libgnunetafs_database_directory.so.0.0.0
/usr/lib/libgnunetafs_database_directory.so
/usr/lib/libgnunetafs_database_gdbm.so
/usr/lib/libgnunetafs_database_directory.la
/usr/lib/libgnunetafs_database_gdbm.so.0.0.0
/usr/lib/libgnunetafs_database_mysql.so.0.0.0
/usr/lib/libgnunetafs_database_gdbm.la
/usr/lib/libgnunetafs_database_mysql.so.0
/usr/lib/libgnunetafs_database_mysql.so
/usr/lib/libgnunetafs_database_mysql.la


root@mike:~# emerge info
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) processor
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/mnt/debian/tmp/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/debian/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 apm avi crypt cups encode foomaticdb gif jpeg libwww mad mikmod mpeg
ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm
berkdb slang readline bonobo ggi tcltk guile mysql X sdl gpm tcpd pam ssl perl
python esd imlib oggvorbis opengl mozilla gphoto2 cdr mmx 3dnow fbcon oss libg++
nls -arts -svga -qt -kde -motif gtk gnome java ruby"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"

------- Comment #1 From Spider (RETIRED) 2003-08-22 04:31:34 0000 -------
ok, I think it'd do a bit better were this to mention the version of gnunet ;)

But, for me this reports as:
qpkg -f /usr/lib/libgnunetcommon.so.0 -v
net-p2p/gnunet-0.5.4 *


could you please try
emerge -C gnunet 
script gnunet.log
emerge gnunet
exit
and attach gnunet.log here ?

------- Comment #2 From Seemant Kulleen (RETIRED) 2003-08-23 14:16:30 0000 -------
well, Michael?

------- Comment #3 From Spider (RETIRED) 2003-08-23 14:35:21 0000 -------
Waiting for reply.

------- Comment #4 From Michael Witrant 2003-08-23 20:06:44 0000 -------
Created an attachment (id=16526) [details]
log emerge gnunet

------- Comment #5 From Michael Witrant 2003-08-23 20:09:15 0000 -------
Created an attachment (id=16527) [details]
emerge log

------- Comment #6 From Michael Witrant 2003-08-23 20:13:46 0000 -------
Yes, version 0.5.4.

Looks like there's a problem with the attachment. Should I paste it in a comment?

------- Comment #7 From Seemant Kulleen (RETIRED) 2003-08-23 20:24:26 0000 -------
libtool: install: warning: relinking `libgnunettransport_tcp.la'
(cd /mnt/debian/tmp/portage/gnunet-0.5.4/work/GNUnet-0.5.4/src/transports; /bin/sh ../../libtool --mode=relink gcc -Wall -march=athlon-tbird -O3 -pipe -fomit-frame-pointer -module -o libgnunettransport_tcp.la -rpath /usr/lib tcp.lo ../../src/util/libgnunetutil.la -lm -lnsl -lpthread)
gcc -shared  tcp.lo  -L/usr/lib -lgnunetutil -lm -lnsl -lpthread   -Wl,-soname -Wl,libgnunettransport_tcp.so.0 -o .libs/libgnunettransport_tcp.so.0.0.0
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgnunetutil
collect2: ld returned 1 exit status
libtool: install: error: relink `libgnunettransport_tcp.la' with the above command before installing it
libtool: install: warning: remember to run `libtool --finish /usr/lib'
 /bin/sh ../../libtool --mode=install /bin/install -c  libgnunettransport_udp.la /mnt/debian/tmp/portage/gnunet-0.5.4/image//usr/lib/libgnunettransport_udp.la
libtool: install: warning: relinking `libgnunettransport_udp.la'
(cd /mnt/debian/tmp/portage/gnunet-0.5.4/work/GNUnet-0.5.4/src/transports; /bin/sh ../../libtool --mode=relink gcc -Wall -march=athlon-tbird -O3 -pipe -fomit-frame-pointer -module -o libgnunettransport_udp.la -rpath /usr/lib udp.lo ../../src/util/libgnunetutil.la -lm -lnsl -lpthread)
gcc -shared  udp.lo  -L/usr/lib -lgnunetutil -lm -lnsl -lpthread   -Wl,-soname -Wl,libgnunettransport_udp.so.0 -o .libs/libgnunettransport_udp.so.0.0.0
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgnunetutil
collect2: ld returned 1 exit status
libtool: install: error: relink `libgnunettransport_udp.la' with the above command before installing it
libtool: install: warning: remember to run `libtool --finish /usr/lib'

ok, that is strange that it actually installs successfully, despite spitting out the above.

------- Comment #8 From Michael Witrant 2003-08-24 07:03:36 0000 -------
I've found a solution in medusa-0.5.1-r4.ebuild: run libtoolize & aclocal just
after unpacking.

See the (hopefully) attached patch.

------- Comment #9 From Michael Witrant 2003-08-24 07:05:11 0000 -------
Created an attachment (id=16535) [details]
ebuild patch proposal

Copied from medusa-0.5.1-r4.ebuild

------- Comment #10 From Spider (RETIRED) 2003-08-24 10:58:04 0000 -------
checking.

------- Comment #11 From Spider (RETIRED) 2003-08-24 11:10:26 0000 -------
added elibtoolize for it, Could you please test this?

------- Comment #12 From Michael Witrant 2003-08-24 17:59:55 0000 -------
It works. gnunet-0.5.4-r1.ebuild installed all the libs.

------- Comment #13 From Spider (RETIRED) 2003-08-25 05:33:25 0000 -------
Good, closing.

------- Comment #14 From Spider (RETIRED) 2003-08-25 05:33:40 0000 -------
And resolving it as fixed.

First Last Prev Next    No search results available      Search page      Enter new bug