Using TurboActivate on Linux
TurboActivate runs natively on Linux and you can use it from any programming language. This article will show you some tips and tricks specific to Linux. You should use this article alongside one of the following:
- Using TurboActivate with Adobe AIR
- Using TurboActivate with C, C++, & Objective-C
- Using TurboActivate with Java
- Using TurboActivate with Real Studio (Real Basic)
TurboActivate loads the "TurboActivate.dat" file from the same directory as the executable. If you want to load the "TurboActivate.dat" file from a directory other than the one the executable's path, then use the
Adding "libTurboActivate.so" to your application
If you're making a C, C++, or Objective-C app then you need to make sure your application can find the "libTurboActivate.so" file at runtime. We recommend including "libTurboActivate.so" in the same folder as your application and compiling your app using the "rpath" linker option:
This tells your app to look in your app's directory first. Read more about using ORIGIN for a dynamic runtime library search path.
TurboActivate has very few dependencies on Linux. It will work "out of the box" on x86, x64, and ARM versions of Linux: Ubuntu 8.04 and above, OpenSuse 11.0 and above, Fedora 9 and above. In short, it works on all versions of Linux released since 2008 without any configuration.
If you're targeting older or "custom" versions of Linux, then you can use the following terminal command to get the full list of dependencies:
ldd -v libTurboActivate.so