Skip to end of metadata
Go to start of metadata

If you wish to install pkgsrc into the global zone, go to https://pkgsrc.joyent.com/install-on-illumos/ and select the "64-bit tools (SmartOS GZ)" set.

Ignore the comments below, they relate to a previous version of this page.

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Sep 04, 2013

    I have followed those exact same steps above using 

    # cd /
    # curl -k http://pkgsrc.joyent.com/packages/SmartOS/bootstrap/bootstrap-2013Q1-x86_64.tar.gz | gzcat | tar -xf -
    # pkg_admin rebuild
    # pkgin -y up

    Output of that was:

    pkg_admin: heimdal-1.5.2nb2: Symlink `/opt/local/man/man5/qop.5' exists and is in +CONTENTS but target does not exist!
    Stored 138992 files and 68 explicit directories from 687 packages in /opt/local/pkg/pkgdb.byfile.db.
    Done.

    I thought it all went well, except it didn't!

    now whatever command i run i get this error:
    # ls
    ld.so.1: ls: fatal: /opt/local/lib/libintl.so.8: wrong ELF class: ELFCLASS64
    Killed

    # vim
    ld.so.1: vim: fatal: /opt/local/lib/libncurses.so.5: wrong ELF class: ELFCLASS64
    Killed

    Please help!

    thanks

    1. Sep 21, 2013

      Bach, try with this package: http://pkgsrc.smartos.org/packages/SmartOS/bootstrap/bootstrap-trunk.tar.gz

      works for me nicely, just installed on fresh SmartOS install.