Putty doesn't start

Hi,
I installed putty using HaikuDepot. When I run it from Terminal i get:
runtime_loader: Cannot open file libX11.so.6 (needed by /boot/system/bin/putty): No such file or directory
Do I need to install one of libx* libraries? Which one?

Thank you!
Regards

Do you have xlibe installed, I’m guessing it’s needed here (instead of libX11)?

2 Likes

I didin’t install xlibe. Expected that HaikuDepot will provide all dependencies.
Will try.

thanks Begasus! pkgman install xlibe helped

1 Like

we might need to rebuild putty once again… either re-add xlibe to the dependencies or find out a way to build it without xlibe (should be using pure GTK over Wayland now, not sure why it needs xlibe at all)

3 Likes

Probably due to the dependencies for gtk/cairo?

Yeah, I think most applications that linked against GTK got all its dependencies linked in implicitly due to how pkg-config works. We should add -Wl,--as-needed to the .pc file, if possible, so this doesn’t happen.

2 Likes

and the usual question of folders, should we use ~/.putty like on Linux or ~/config/settings/putty (perhaps with find_directory)

That one :slight_smile:

7 Likes