| |
cbmeeks
Registered: Oct 2005 Posts: 78 |
Trouble launching C64Debugger in Linux
I run Fedora and I've tried to launch C64Debugger (0.64.58.6) but I only get the following error:
Quote:./c64debugger: error while loading shared libraries: libxcb-util.so.0: cannot open shared object file: No such file or directory
I've installed the libxcb libs (libxcb-devel and libxcb) but I cannot seam to find libxcb-util in the Fedora repos.
Has anyone managed to get this program to run under Linux? (preferably Fedora).
Thanks. |
|
... 4 posts hidden. Click here to view all posts.... |
| |
spider-j
Registered: Oct 2004 Posts: 498 |
Quoting chatGPZYou really want to build it on that box, instead of throwing symlinks around that potentially break something in subtle ways, in a few years when you dont remember them anymore :)
How should that happen "in a few years"?
Afaik the .so without number extension always links to the current version with number extension. "Old" versions get sorted out by your distribution. But sometimes you have some closed source binary that is linked against .so.X where X < than the current version installed. No other software on your system will rely on this version. Of course it can be that it just doesn't work, because of API changes. But it usually will only effect the program(s) you made that symlink for.
I have been doing this for years and never encountered any problems. Or am I missing something? |
| |
Martin Piper
Registered: Nov 2007 Posts: 726 |
Quote: Quoting chatGPZYou really want to build it on that box, instead of throwing symlinks around that potentially break something in subtle ways, in a few years when you dont remember them anymore :)
How should that happen "in a few years"?
Afaik the .so without number extension always links to the current version with number extension. "Old" versions get sorted out by your distribution. But sometimes you have some closed source binary that is linked against .so.X where X < than the current version installed. No other software on your system will rely on this version. Of course it can be that it just doesn't work, because of API changes. But it usually will only effect the program(s) you made that symlink for.
I have been doing this for years and never encountered any problems. Or am I missing something?
It's a perfectly fine approach to do this. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11387 |
Quote:I have been doing this for years and never encountered any problems. Or am I missing something?
It works, until at some point one of those closed source programs will start acting up for no apparent reason. Or you install yet another of those closed source tools and don't even notice its using the whacko symlink with a random lib it wasnt intended to use, which makes it act up from the start for no apparent reason. Or even worse, it doesn't even act up, but produces unexpected results instead, which you don't notice. The later ones are the subtle wtf cases of course.
Yes its rare that it happens, but it can happen. Which is why it is generally recommended to use ld_preload instead of symlink these days. It's a bit like avoiding SEI/CLI :) |
| |
spider-j
Registered: Oct 2004 Posts: 498 |
Quoting chatGPZWhich is why it is generally recommended to use ld_preload instead of symlink these days. It's a bit like avoiding SEI/CLI :)
Okay, as you guys already convinced me of not using SEI/CLI anymore I'll also take a look at this LD_PRELOAD thing :-) |
| |
Frantic
Registered: Mar 2003 Posts: 1648 |
Quoting chatGPZIt's a bit like avoiding SEI/CLI :)
Quoting spider-JOkay, as you guys already convinced me of not using SEI/CLI anymore I'll also take a look at this LD_PRELOAD thing :-)
How to convince a scener. Rhetorics 101. |
| |
spider-j
Registered: Oct 2004 Posts: 498 |
Quoting FranticHow to convince a scener. Rhetorics 101.
Hehe. To convince me it also helps to be on my personal "list of most pedantic nerds" ;-)
Of course one could argue that on this list can only be people that are very "vocal" on the internet and that this does not need to correlate with expertise. On the other hand: listening to guys like krill, groepaz and ChristopherJam never really failed me :-) |
| |
Krill
Registered: Apr 2002 Posts: 2981 |
Did you just call me pedantic!?! =) |
| |
chatGPZ
Registered: Dec 2001 Posts: 11387 |
Me vocal? WTF |
| |
Mixer
Registered: Apr 2008 Posts: 454 |
The scientific method applied to social media:
- Go to a forum.
- Argue the opposite of what you wish to learn.
- Someone will insult you, point to your mistake and then tell you how things work.
- Best case is that a proper war about definitions begins. In that case the triggered ones will do the work of finding all the sources for you as well.
- Make notes and summarize. |
| |
cbmeeks
Registered: Oct 2005 Posts: 78 |
LOL.
Thanks for the comments, everyone.
I'm not worried about breaking things too much. I reinstall my OS often. Not because I have to, but because I like doing it. I admit, however, that I've just been doing in-place Fedora upgrades lately. Been too lazy I guess to nuke it.
me
http://meeks.co |
Previous - 1 | 2 - Next |