Linuxtrack and TrackIR

The things I do in my hatred of Win and Mac…

My questions:

How/where do I get libcrypto.so.1.0.0?
How do I get libcwiid.so.1 installed?

I’m trying to get my headtracker set up for flight sim games. Since I already have a TrackIR, it seems I may need to use Linuxtrack. I found it here, and I’m using the instructions found here to get it installed. The current step I’m on is finding missing libraries.

[leaf@Artemis bin]$ ldd * | grep 'not found' | sort -u
        libcrypto.so.1.0.0 => not found
        libcwiid.so.1 => not found
        libQtCore.so.4 => not found
        libQtGui.so.4 => not found
        libQtNetwork.so.4 => not found
        libQtOpenGL.so.4 => not found
        libQtWebKit.so.4 => not found

Searching around, it looks like the libQt* stuff is talking about Qt4. I found it on the AUR, so I’m pretty sure that’ll be an “easy” fix.

As I understand it, libcrypto.so.1 is a dependency for opensll, which I already have installed. I’m not sure how to get it if it’s not. If it’s is installed, how do I fix this? If it’s not installed, where do I get so that it won’t step on openssl’s feet?

I found libcwiid I found here. Following the instructions there, autoconf reports a lot of obsolete things, but appears to work.

[leaf@Artemis cwiid-master]$ autoconf
configure.ac:2: warning: The macro 'AC_CONFIG_HEADER' is obsolete.
configure.ac:2: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:2: the top level
configure.ac:6: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete
./lib/autoconf/programs.m4:743: _AC_PROG_LEX is expanded from...
./lib/autoconf/programs.m4:736: AC_PROG_LEX is expanded from...
configure.ac:6: the top level
configure.ac:58: warning: The macro 'AC_HEADER_STDC' is obsolete.
configure.ac:58: You should run autoupdate.
./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from...
configure.ac:58: the top level
configure.ac:72: warning: The macro 'AC_ISC_POSIX' is obsolete.
configure.ac:72: You should run autoupdate.
./lib/autoconf/specific.m4:732: AC_ISC_POSIX is expanded from...
configure.ac:72: the top level
configure.ac:74: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:74: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:74: the top level
configure.ac:83: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:83: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:83: the top level
configure.ac:92: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:92: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:92: the top level
configure.ac:106: warning: AC_OUTPUT should be used without arguments.
configure.ac:106: You should run autoupdate.

./configure also appears to work, but reports this halfway through before continuing:

checking for python... python
  File "<string>", line 1
    import sys; print sys.version[:3]
                ^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

I’m betting this is a false alarm?

The make command then starts reporting a lot of errors. Many of them. I’ll only provide a few snippets here so this post isn’t too ugly. I’ll paste the whole thing on request:

process.c: In function ‘process_status’:
process.c:43:39: warning: unused parameter ‘ma’ [-Wunused-parameter]
   43 |                    struct mesg_array *ma)
      |                    ~~~~~~~~~~~~~~~~~~~^~
process.c: In function ‘process_ext’:
process.c:175:31: warning: unused parameter ‘len’ [-Wunused-parameter]
  175 |                 unsigned char len, struct mesg_array *ma)
      |                 ~~~~~~~~~~~~~~^~~


main.c: In function ‘drawStick_expose_event’:
main.c:824:67: warning: unused parameter ‘event’ [-Wunused-parameter]
  824 | void drawStick_expose_event(GtkWidget *drawStick, GdkEventExpose *event,
      |                                                   ~~~~~~~~~~~~~~~~^~~~~
main.c: In function ‘cwiid_callback’:
main.c:1051:25: warning: enumeration value ‘CWIID_EXT_BALANCE’ not handled in switch [-Wswitch]
 1051 |                         switch (mesg_array[i].status_mesg.ext_type) {
      |                         ^~~~~~
main.c:1036:69: warning: unused parameter ‘timestamp’ [-Wunused-parameter]
 1036 |                     union cwiid_mesg mesg_array[], struct timespec *timestamp)


ake  -C wminput
make[1]: Entering directory '/home/leaf/GitRepos/cwiid-master/wminput'
In file included from main.c:37:
conf.h:33:10: fatal error: y.tab.h: No such file or directory
   33 | #include "y.tab.h"
      |          ^~~~~~~~~
compilation terminated.
In file included from conf.c:28:
conf.h:33:10: fatal error: y.tab.h: No such file or directory
   33 | #include "y.tab.h"
      |          ^~~~~~~~~
compilation terminated.
In file included from c_plugin.c:27:
conf.h:33:10: fatal error: y.tab.h: No such file or directory
   33 | #include "y.tab.h"
      |          ^~~~~~~~~

Thank you!

Specs:

OS: EOD x84_64
CPU: 8-core AMD Ryzen 7 5800X (-MT MCP-)
Kernel: 6.12.16-1-lts x86_64
GPU: NVIDIA GeForce RTX 3080 Ti [Discrete]
DE: KDE Plasma 6.3.1
WM: KWin (Wayland)

May this package is what is needed?

1 Like

Looks like there is no libcrypto.so.1.0.0, at least not in the official packages :

yay -Fx libcrypto.so.1
core/openssl-1.1 1.1.1.w-2
usr/lib/libcrypto.so.1.1
.
extra/teamspeak3 3.6.2-2
opt/teamspeak3/libcrypto.so.1.1
.
multilib/lib32-openssl-1.1 1.1.1.w-2
usr/lib32/libcrypto.so.1.1

For libcwiid.so.1, maybe in these AUR packages :

yay cwiid
2 aur/cwiid-git 20220621-1 (+28 0.00)
Cwiid-git is the bleeding edge version of a wiimote’s driver and utility tools
.
1 aur/cwiid svn_history-3 (+10 0.01) (Orphelin)
Linux Nintendo Wiimote interface

That is a build from 2016. It may not be practical to get that running 9 years later.

The problem isn’t only that you are missing libraries, it is that those versions of the libraries are so old as to be non-existent at this point.

You probably need to see if it can be built against newer libraries.

That is a syntax error. That library you are attempting to build is 16 years old. It requires a much older version of Python that is no longer supported.

Trying to build software that old is somewhat impractical.


Is there a reason you can’t use opentrack?

It is in the AUR and can be installed with:

yay -S opentrack

To ricklinux and vazicebon, I’ll check those out once I’m home. Thanks for the heads!

To dalto, I assume it’ll be a stonewall unless I install an older OS (which also had it’s own problems…) if I understand what you said correctly? Yeah, that won’t be an option for me…

Is there a reason you can’t use opentrack?

To my understanding, opentrack isn’t compatible with TrackIR. I’m not opposed to using it, though! It’s just that I have the TrackIR from my Windows days and I’m hoping to get it working before having to spend money for a different physical component.

When I’m on lunch, I’ll look into it more to double check TrackIR compatibility.

Edit:

It’s the next day and nothing new to report other then that I’m trying to get opentrack to work now. I’m still new at this and I I think I built it wrong. Trying again tonight with some mistakes fixed!

@Leaf I have an updated version that you can find here…

wiki https://gitlab.com/fwfa123/linuxtrackx-ir/-/wikis/home

Nice thanks for link I’m saving link for future use.

1 Like

@Leaf I have an updated version that you can find here…

wiki https://gitlab.com/fwfa123/linuxtrackx-ir/-/wikis/home

I should also state, that as of right now the build is well ahead of the appimage and that I have two branches running. Main = QT5.15 and QT6 Migration = QT6.5

Oh god! Sorry for the late reply @fwfa , but thank you! Had a life event recently and this is very welcome to come back to.

I got it running on Weyland and tested it using the 3D view. Looks great so far!

I plan to play Elite Dangerous hopefully next week. I’ll report back here with good news, but if there’s any bugs or something, I’ll post it on the git you linked to.

No worries on the reply time frame. I just wanted to make sure you could find a solution. Sorry you had an event and I am glad you are back and that this got you up and running and I will try and work on issues you may find

Thanks for the post