shuttle-hq / synth

The Declarative Data Generator
https://www.getsynth.com/
Apache License 2.0
1.39k stars 109 forks source link

Installation on Ubuntu 22.04 requires an additional debian package of libssl1.1 #326

Closed gordonlau closed 2 years ago

gordonlau commented 2 years ago

Following the installation instruction on the website and run synth directly.

  1. Installation
curl --proto '=https' --tlsv1.2 -sSL https://getsynth.com/install | sh
  1. Error while running the command.
    $ synth                                                              
    synth: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

It can be resolved by installing the debian package of libssl1.1 manually because Ubuntu 22.04 only has libssl3 in its repository.

$ wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1l-1ubuntu1.6_amd64.deb
$ sudo dpkg -i libssl1.1_1.1.1l-1ubuntu1.6_amd64.deb 

Then it works without issue.

$ synth                                                              
synth 
synthetic data engine on the command line

USAGE:
    synth <SUBCOMMAND>

FLAGS:
    -h, --help    Prints help information

SUBCOMMANDS:
    generate     Generate data from a namespace
    help         Prints this message or the help of the given subcommand(s)
    import       Import data from an external source
    init         (DEPRECATED). For backward compatibility and is a no-op.
    telemetry    Toggle anonymous usage data collection
    version      Version information