We have a big problem :-)

9 views
Skip to first unread message

Athanasios Kostopoulos

unread,
Apr 26, 2015, 2:45:55 PM4/26/15
to pki...@googlegroups.com
[pki@builder scripts]$ file pki.io
pki.io: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), not stripped
[pki@builder scripts]$ ldd pki.io
    linux-vdso.so.1 =>  (0x00007fff0ac58000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fb360fcb000)
    libc.so.6 => /lib64/libc.so.6 (0x00007fb360c0a000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fb3611ee000)

that complicates build and distribution

Fraser Scott

unread,
Apr 26, 2015, 6:26:53 PM4/26/15
to Athanasios Kostopoulos, pki...@googlegroups.com
Doesn't seem to be too bad.

I can run a binary built on Debian 7.7 from CentOS 6.6:

[vagrant@localhost build]$ cd debian-7.7/
[vagrant@localhost debian-7.7]$ cat /etc/redhat-release
CentOS release 6.6 (Final)
[vagrant@localhost debian-7.7]$ ls
[vagrant@localhost debian-7.7]$ file pki.io
pki.io: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), not stripped
[vagrant@localhost debian-7.7]$ ldd pki.io
linux-vdso.so.1 =>  (0x00007fffacfff000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f882ba83000)
libc.so.6 => /lib64/libc.so.6 (0x00007f882b6ef000)
/lib64/ld-linux-x86-64.so.2 (0x00007f882bca5000)
[vagrant@localhost debian-7.7]$ ./pki.io help

pki.io - Open source and scalable X.509 certificate management

Usage:
    pki.io [--version] [--help] [--logging <file>] <command> [<args>...]

Options:
    -h, --help
    -v, --version
    --logging <file>  Load alternative logging config file.

Commands:
    init          Initialise an organisation
    admin         Manage admins
    ca            Manage X.509 Certificate Authorities
    cert          Manage standalone X.509 certificates
    node          Manage node entities
    org           Do operations on behalf of the org
    pairing-key   Manage pairing keys

See 'pki.io help <command>' for more information on a specific command.


--
You received this message because you are subscribed to the Google Groups "pki.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pki_io+un...@googlegroups.com.
To post to this group, send email to pki...@googlegroups.com.
Visit this group at http://groups.google.com/group/pki_io.
To view this discussion on the web, visit https://groups.google.com/d/msgid/pki_io/CA%2BaGpV99XViaE0hMd4opo%3DZXuRcTsUjUKPdvhNRWeTUeD2ZT0w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Athanasios Kostopoulos

unread,
Apr 27, 2015, 1:12:19 AM4/27/15
to Fraser Scott, pki...@googlegroups.com
You can *run* a binary - sure but what guarantees its correctness?
I will work a bit of "magic" (so to speak) so debian binaries are produced using debian, Ubuntu using ubuntu and so on (Docker to the rescue) but we need to focus on testing.
What do you guys think?
Reply all
Reply to author
Forward
0 new messages