CentOS 7 rpm install fails with "Most likely this is a multi-threaded client and XInitThreads has not been called"

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: CentOS 7 rpm install fails with "Most likely this is a multi-threaded client and XInitThreads has not been called"

Post by NormandC »

Totally_Lost wrote: Tue Apr 30, 2019 7:02 am Pushing the "Flathub reprository file" button does the download into the Downloads directory, as does the FreeCAD link, bet without any guidance on how to actually install them. The Flathub page should provide the info, as it assume the user already knows how. Frankly it's not obvious where to even look.
Downloading flatpaks is the only thing needed. They are self-contained binaries, a little like portable apps on Windows. You should be able to find the FreeCAD app from whatever app launcher you're using (I'm using mostly standard GNOME, I get the FreeCAD flatpak in the Applications screen). As for launching from terminal, sorry, I'm more of a GUI guy myself.

I mentioned the flatpak because it's a Fedora project. The FreeCAD project proposes an AppImage (which I also linked) which is even more straightforward: download, make it executable, launch.

Totally_Lost wrote: Tue Apr 30, 2019 8:30 pm At least with CentOS 7, I have quite a few years before I'm forced to upgrade to the next release, and can still get security updates, and functional fixes, without having a huge number of UI's and API's break scripts and other programs. There are a few things I gave up switching from Fedora, but very few, and none worth the pain of Fedora failed updates and API changes.
It's a trade-off, you get stability but more ancient apps. With mature programs it's fine, but with FreeCAD which makes great strides every release you get left in the dust - because the system's repositories has ancient versions of libraries, FreeCAD becomes near impossible to package. 0.16 is really, really ancient (2016).
Totally_Lost
Posts: 6
Joined: Tue Apr 30, 2019 1:56 am

Re: CentOS 7 rpm install fails with "Most likely this is a multi-threaded client and XInitThreads has not been called"

Post by Totally_Lost »

installing FreeCAD from flatpak as a newbie required a little research, but ended up with:

[root@localhost ~]# flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
[root@localhost ~]# flatpak search freecad
Application ID Version Branch Remotes Description
org.freecadweb.FreeCAD 0.18.13500 stable flathub An open source parametric 3D CAD modeler
[root@localhost ~]# flatpak install flathub org.freecadweb.FreeCAD
Required runtime for org.freecadweb.FreeCAD/x86_64/stable (runtime/org.kde.Platform/x86_64/5.12) found in remote flathub
Do you want to install it? [y/n]: y
Installing in system:
org.kde.Platform/x86_64/5.12 flathub 101871e09100
org.freedesktop.Platform.html5-codecs/x86_64/18.08 flathub 282fd2c4ef33
org.kde.KStyle.Adwaita/x86_64/5.12 flathub ff24e32a3ab8
org.kde.Platform.Locale/x86_64/5.12 flathub f3dc2522ed2c
org.freecadweb.FreeCAD/x86_64/stable flathub 21c74b4493a1
permissions: ipc, network, wayland, x11, dri
file access: host, xdg-config/kdeglobals:ro, xdg-run/dconf, ~/.config/dconf:ro
dbus access: com.canonical.AppMenu.Registrar
Is this ok [y/n]: y
Installing: org.kde.Platform/x86_64/5.12 from flathub
[####################] 1423 metadata, 27543 content objects fetched; 400032 KiB transferred in 151 seconds
Now at 101871e09100.
Installing: org.freedesktop.Platform.html5-codecs/x86_64/18.08 from flathub
[####################] 25 metadata, 130 content objects fetched; 4732 KiB transferred in 2 seconds
Now at 282fd2c4ef33.
Installing: org.kde.KStyle.Adwaita/x86_64/5.12 from flathub
[####################] 8 metadata, 5 content objects fetched; 4560 KiB transferred in 5 seconds
Now at ff24e32a3ab8.
Installing: org.kde.Platform.Locale/x86_64/5.12 from flathub
[####################] 4 metadata, 1 content objects fetched; 16 KiB transferred in 0 seconds
Now at f3dc2522ed2c.
Installing: org.freecadweb.FreeCAD/x86_64/stable from flathub
[####################] 514 metadata, 6866 content objects fetched; 239216 KiB transferred in 146 seconds
Now at 21c74b4493a1.
[root@localhost ~]#
chrisb
Veteran
Posts: 54213
Joined: Tue Mar 17, 2015 9:14 am

Re: CentOS 7 rpm install fails with "Most likely this is a multi-threaded client and XInitThreads has not been called"

Post by chrisb »

Please edit your post and put the output in code tags </> for improved readability, e.g. due to correct spacing.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply