Best way to install google-cloud-platform

I’m slightly confused about the best way to install the google-cloud-platform plugin.

  1. The instructions say to build it yourself. This produces a Build folder with a libOrthancGoogleCloudPlatform.so file that is a symlink to libOrthancGoogleCloudPlatform.so.mainline. If I simply copy the .so file this seems to fail.
  2. There appears to be a build at https://orthanc.uclouvain.be/downloads/linux-standard-base/orthanc-gcp/mainline/libOrthancGoogleCloudPlatform.so
  3. Posts from 2020 say it’s included in Orthanc, though they appear to be out of date.

What’s the current best-practice way to do this?

Also, whether I use either 1 or 2 I get the same error:

E1009 00:15:15.889202 MAIN PluginsManager.cpp:247] Inexistent path to plugins: /usr/share/orthanc/plugins/libOrthancGoogleCloudPlatform.so, despite the file being present

Well, there is no “best-practice”. Since this plugin is rarely used (I even thought nobody was using it !), it is not included in the Docker images anymore.

So, the best solution is to download the LSB file.

missing a chmod +x ?
If not, you’ll need to run Orthanc with strace to better understand what’s going wrong.

HTH,

Alain.

Hello,

I hereby confirm that the following instructions make Orthanc start with the Google Cloud Platform plugin:

# mkdir /tmp/orthanc
# cd /tmp/orthanc
# wget https://orthanc.uclouvain.be/downloads/linux-standard-base/orthanc/1.12.4/Orthanc
# wget https://orthanc.uclouvain.be/downloads/linux-standard-base/orthanc-gcp/1.0/libOrthancGoogleCloudPlatform.so
# wget https://orthanc.uclouvain.be/downloads/linux-standard-base/orthanc-dicomweb/1.17/libOrthancDicomWeb.so
# chmod +x ./Orthanc
# echo '{"Plugins":["."]}' > config.json
# ./Orthanc config.json

This plugin cannot be actively maintained, as we do not benefit from any Google credits. Get in touch with your Google representatives if you want to support us.

Regards,
Sébastien-