title: libtensorflow.so: cannot open shared object file: No such file or directory
body: <p>I have created an AWS Lambda Layer using following command:</p>
  
  <pre><code>aws lambda publish-layer-version --layer-name TensorflowLambdaLayer --compatible-runtimes go1.x --zip-file fileb://tensorflowLayer.zip
  </code></pre>
  
  <p>Here is ARN that was generated: `arn:aws:lambda:us-east-1:757767972066:layer:TensorflowLambdaLayer:1</p>
  
  <p>When I try to run my Lambda function which uses <strong>Tesnroflow</strong> library via AWS SAM, it gets stuck on "mounting" step: </p>
  
  <pre><code>2019-07-18 15:51:29 Mounting /tmp/tmpgz8cb80s as /var/task:ro,delegated inside runtime container
  </code></pre>
  
  <p>Once I terminate it with <code>Ctrl + C</code> I am getting following message:</p>
  
  <pre><code>^C/var/task/bin/inference: error while loading shared libraries: libtensorflow.so: cannot open shared object file: No such file or directory
  Makefile:82: recipe for target 'run-inference' failed
  </code></pre>
  
  <p>Here is crucial part of my <strong>template.yml</strong>:</p>
  
  <pre><code>Parameters:
    LambdaTensorflowLayerArn:
      Type: String
      Default: 'arn:aws:lambda:us-east-1:757767972066:layer:TensorflowLambdaLayer:1'
    LambdaFFMPEGLayerArn:
      Type: String
      Default: 'arn:aws:lambda:us-east-1:757767972066:layer:ffmpeg:1'
  
  Inference:
      Type: 'AWS::Serverless::Function'
      Properties:
        Handler: bin/inference
        Runtime: go1.x
        Timeout: 300
        CodeUri: ./bin/inference.zip
        Layers: 
           - Ref: LambdaFFMPEGLayerArn
           - Ref: LambdaTensorflowLayerArn
  </code></pre>
  
  <p>I am not sure what might be causing this</p>