Skip to content

Zeit binary compatibility #5

Closed
Closed

Description

@ejoebstl

Zeit/now Version 2 runs on AWS lambdas with the ami ami amzn-ami-hvm-2017.03.rc-1.20170327-x86_64-gp2.

A binary compiled on that AMI links against the following binaries:

# ldd migration-engine
linux-vdso.so.1 =>  (0x00007ffd757e8000)
libssl.so.10 => /usr/lib64/libssl.so.10 (0x00007f8fef798000)
libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007f8fef3b0000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f8fef1ab000)
librt.so.1 => /lib64/librt.so.1 (0x00007f8feefa3000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f8feed87000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f8feeb70000)
libc.so.6 => /lib64/libc.so.6 (0x00007f8fee7ac000)
/lib64/ld-linux-x86-64.so.2 (0x000056492d6bf000)
libm.so.6 => /lib64/libm.so.6 (0x00007f8fee4aa000)
libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 (0x00007f8fee25b000)
libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00007f8fedf74000)
libcom_err.so.2 => /usr/lib64/libcom_err.so.2 (0x00007f8fedd71000)
libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x00007f8fedb3e000)
libz.so.1 => /lib64/libz.so.1 (0x00007f8fed928000)
libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0 (0x00007f8fed718000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f8fed515000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f8fed2fb000)
libselinux.so.1 => /usr/lib64/libselinux.so.1 (0x00007f8fed0d9000)

The specific package versions are found here:

openssl-1.0.1k
glibc-2.17

The binary can be built on an instance with the mentioned ami using the following commands:

yum install git curl
git clone https://github.com/prisma/prisma.git
curl https://sh.rustup.rs -sSf | sh
source $HOME/.cargo/env
yum install openssl-devel
yum groupinstall 'Development Tools'
cd prisma/server/prisma-rs
git checkout alpha
cargo build --release

Activity

  1. added this to the milestone on Jun 26, 2019
  2. added
    kind/bug
    on Jul 2, 2019
  3. timsuchanek commented on Jul 11, 2019

    @timsuchanek
    Contributor

    Done and released in preview-1.

  4. added this to the Preview 1 milestone on Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug/2-confirmedkind/bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions