I will look at yours when I get home and see if I see anything obvious wrong with it.
Hopefully you did not build on Ubuntu 12.04 or later, or a recent Fedora because they use a newer glibc (eglibc), 2.15, than many distros.
This means programs built on them won't work on many peoples Linux installs.
ah dammit, i think it was on ubuntu 12.10.. i'll have to get an older version then and recompile, thanks for the heads-up. as for the method, i'm just packaging the qt libraries indicated after running ldd on the executable, and using a script to set the ld_library_path. from all the qt documentation i've read it seems this is the most flexible (and simple) solution.
You only need to go back to Ubuntu 11.10, that has glibc 2.13 which should work unless someone has not updated their Linux install in several years.
I use a 32bit xubuntu 11.10 VM to build updated versions of dfhack for Masterwork since it has glibc 2.13 and gcc 4.5.
The current version of Dwarf Fortress was built with gcc 4.5 so it is best to build dfhack with it, Debain does not have gcc 4.5 so I used xubuntu.
You can use any gcc version you want for Therapist as long as it compiles.
I use a script to load the libs as well, it is the easiest way to do it.
I included more libs than that for ease of use on non-Debian based systems.
I put in pretty much everything but the X11 stuff for now, you should use the system version of those and they can be 64bit.
I am sure some of them are unneeded but I have not had time to work out which ones yet.
for the ptrace kernel hardening issue i read somewhere on the forums here about using a script to launch therapist and then fortress as a work around. however i'm not sure if you can daisy chain multiple things like stonesense and dfhack into it as well.
I put some documentation on ways to allow ptrace in the Linux instructions I wrote for Masterwork.
I will post them here when I get home, I can't get at them here.
I have seen the script you are talking about but I have not had any luck trying to employ it with dfhack and therapist at the same time.
The problem is that dfhack takes over your terminal now and that holds your script at the line where you start dfhack until Dwarf Fortress is closed.
Stonesense is part of dfhack now so you don't have to daisychain it in anymore.