On 17 December 2015 at 15:00, Armin Rigo <arigo@tunes.org> wrote:
On Thu, Dec 17, 2015 at 3:33 PM, Oscar Benjamin <oscar.j.benjamin@gmail.com> wrote:
Maybe it's just missing the symlink from libtcl8.5.so -> libtcl8.5.so.0. I'm not sure why it would be setup like that.
Yes. I mostly gave up understanding the differences in binary distributions in Linux. It just turns out that on the particular distribution where this pypy was built, it's called "libtcl8.5.so". Maybe it is indeed just a symlink to "libtcl8.5.so.0", and so if we put "libtcl8.5.so.0" in the "_tklib_cffi.so" then everybody would be happy. However I have no clue how to do that in the .so without tons of non-portable tricks. gcc is invoked with "-ltcl", and figures out at compilation time that it means "link with libtcl8.5.so".
I just tested and re-downloading it works out of the box without any need to recompile. Perhaps an easier solution is just to mention that tk8.5-dev may be needed as a dependency for those binaries. -- Oscar