Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9974 - hotkeys linking to non-existant library
Summary: hotkeys linking to non-existant library
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-30 13:02 UTC by Alan
Modified: 2003-04-04 01:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan 2002-10-30 13:02:00 UTC
Currently if you emerge hotkeys and xosd hotkeys will fail because it is linked
against libxosd.so.0, but the version of libxosd is .so.1, not .0.

Creating a symlink from /usr/lib/libxosd.so.1 to /usr/lib/libxosd.so.0 works
fine however.
Comment 1 Alan 2002-11-01 11:31:18 UTC
Erhm.. correction, this doesn't work :(  It will execute properly for the first
button press, but then segfault immediately.  I assume this is due to a
difference between the .7.0 and the 1.x version of libxosd. 

I didn't notice originally that I had both .7 and 1.x versions of the xosd
package installed.  I think this probably created some problems.  I did an
unmerge and rebuild of the both, and then it created other problems, seemingly
related to bug 9690
Comment 2 Alan 2002-11-01 11:41:34 UTC
Just some more info:  I rebuilt both xosd 0.70 and hotkeys .5.5 with debugging
information  (CFLAGS=" -g -ggdb" in make.conf) and got the following info. 
First of all the files in /usr/lib/xosd-0.7.0/* have to be copied to /usr/lib
and ldconfig has to be run before hotkeys will run (as in the previous post).

Running through GDB I get the following:

(gdb) file /usr/bin/hotkeys
Reading symbols from /usr/bin/hotkeys...(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/hotkeys 
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[New Thread 1024
(LWP 28653)]
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 28653)]
0x403352f5 in strncpy () from /lib/libc.so.6
(gdb) bt
#0  0x403352f5 in strncpy () from /lib/libc.so.6
#1  0x401f5037 in XGetErrorDatabaseText () from /usr/X11R6/lib/libX11.so.6
#2  0x0804b6de in strcpy ()
(gdb) 

Not sure if that helps at all, but there it is.... 
Comment 3 Alexander Isacson 2002-11-19 06:42:53 UTC
I noticed that making a symlink from libxosd.so.2 to libxosd.so.0 works to the
extent that hotkeys doesn't segfault but the osd text is cropped.

Running hotkeys with -o off makes it segfault right away.
Comment 4 Maik Schreiber 2003-01-17 17:41:23 UTC
Bouncing back to bug-wranglers due to time constraints.
Comment 5 Daniel Ahlberg (RETIRED) gentoo-dev 2003-02-05 07:16:55 UTC
Please try the new hotkeys 0.5.7.1 ebuild. Hopefully this version will solve some 
problems. 
Comment 6 Alan 2003-02-12 01:27:24 UTC
WORKSFORME :) Great work, no problems at all.
Comment 7 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:19:39 UTC
db fix
Comment 8 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:24:42 UTC
db fix