I've worked out how to do this:
I installed raspex exton: build 190812 at
http://raspex.exton.se/
(not sure this is required but I gave it a go, will try with Raspbian at a later date)
read instructions from
https://www.raspberrypi.org/forums/view ... 8&t=248904
i.e. download Raspbian Stretch image:
https://downloads.raspberrypi.org/raspb ... 017-09-08/
unzip then mount the .img (see
https://raspberrypi.stackexchange.com/q ... stro-image)
search for these files under /usr/lib/arm-linux-gnueabihf/ and copy to a local area like so:
Code: Select all
aspex@raspberry:/usr/local/share/libcurlhack$ ls -lh
total 2.8M
-rw-r--r-- 1 root root 1.5M Aug 17 00:13 libcrypto.so.1.0.2
lrwxrwxrwx 1 root root 19 Aug 17 00:04 libcurl-gnutls.so.3 -> libcurl-gnutls.so.4
lrwxrwxrwx 1 root root 23 Aug 17 00:03 libcurl-gnutls.so.4 -> libcurl-gnutls.so.4.4.0
-rw-r--r-- 1 root root 422K Aug 16 23:59 libcurl-gnutls.so.4.4.0
lrwxrwxrwx 1 root root 12 Aug 17 00:10 libcurl.so.3 -> libcurl.so.4
lrwxrwxrwx 1 root root 16 Aug 17 00:10 libcurl.so.4 -> libcurl.so.4.4.0
-rw-r--r-- 1 root root 430K Aug 17 00:10 libcurl.so.4.4.0
lrwxrwxrwx 1 root root 16 Aug 17 00:11 libssh2.so.1 -> libssh2.so.1.0.1
-rw-r--r-- 1 root root 146K Aug 17 00:11 libssh2.so.1.0.1
-rw-r--r-- 1 root root 314K Aug 17 00:12 libssl.so.1.0.2
the libcurlhack dir needs to be added to the
LD_LIBRARY_PATH var. I adjusted the wfica.sh script (part of the Citrix package but I would follow a similar tactic for other problems)
Code: Select all
#!/bin/sh
ICAROOT=/opt/Citrix/ICAClient
export ICAROOT
LD_LIBRARY_PATH=/usr/local/share/libcurlhack:/opt/Citrix/ICAClient/lib
export LD_LIBRARY_PATH
$ICAROOT/wfica -file $1
Now follow the instructions here:
https://askubuntu.com/questions/901448/ ... or-1000119
so that you have
Code: Select all
raspex@raspberry:/opt/Citrix/ICAClient$ ls -lh keystore/
total 4.0K
lrwxrwxrwx 1 root root 15 Aug 17 14:34 cacerts -> /etc/ssl/certs/
drwxr-xr-x 2 root root 4.0K Aug 11 13:29 intcerts
run the certificate rehash:
Code: Select all
raspex@raspberry:/opt/Citrix/ICAClient/util$ ./ctx_rehash
then when you log in and download the ica file for your citrix session, run
Code: Select all
raspex@raspberry:/opt/Citrix/ICAClient$ ./wfica.sh ~/Downloads/your_downloaded_file.ica
if you get any other 'module missing' errors, maybe try to copy them over from Stretch into the libcurlhack dir.
This is a bit specific to Citrix but I'm sure could be useful for other libcurl missing errors with other software