Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user jmi ! (Registered 2024-09-15) You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Trouble launching C64Debugger in Linux
2024-08-05 05:16
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....
 
2024-08-06 00:36
spider-j

Registered: Oct 2004
Posts: 482
Quoting chatGPZ
You 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?
2024-08-08 02:37
Martin Piper

Registered: Nov 2007
Posts: 697
Quote: Quoting chatGPZ
You 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.
2024-08-08 12:18
chatGPZ

Registered: Dec 2001
Posts: 11288
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 :)
2024-08-08 18:52
spider-j

Registered: Oct 2004
Posts: 482
Quoting chatGPZ
Which 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 :-)
2024-08-09 11:37
Frantic

Registered: Mar 2003
Posts: 1641
Quoting chatGPZ
It's a bit like avoiding SEI/CLI :)

Quoting spider-J
Okay, 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.
2024-08-09 14:19
spider-j

Registered: Oct 2004
Posts: 482
Quoting Frantic
How 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 :-)
2024-08-09 14:33
Krill

Registered: Apr 2002
Posts: 2940
Did you just call me pedantic!?! =)
2024-08-09 15:18
chatGPZ

Registered: Dec 2001
Posts: 11288
Me vocal? WTF
2024-08-09 16:34
Mixer

Registered: Apr 2008
Posts: 443
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.
2024-08-09 19:12
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
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Ghost/Quantum
Sokratekk
hqn/Silicon Ltd
Nordischsound/Hokuto..
The Human Co../Maste..
Spinball/Excess
Guests online: 83
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 Uncensored  (9.6)
7 Wonderland XIV  (9.6)
8 Comaland 100%  (9.6)
9 No Bounds  (9.6)
10 Unboxed  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Rainbow Connection  (9.5)
6 It's More Fun to Com..  (9.5)
7 Dawnfall V1.1  (9.5)
8 Onscreen 5k  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Morph  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Oxyron  (9.3)
3 Nostalgia  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.2)
Top Organizers
1 Burglar  (9.9)
2 Sixx  (9.8)
3 hedning  (9.7)
4 Irata  (9.7)
5 Tim  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.041 sec.