Skip to content

Instantly share code, notes, and snippets.

@zkirill
zkirill / gist:d97ec765e2ca91718588
Created March 7, 2016 07:26
usr/bin/ld: cannot find -lfreetype on FreeBSD
Following instructions from here: http://stackoverflow.com/questions/16710047/usr-bin-ld-cannot-find-lnameofthelibrary
Fixed by
ln -s /usr/local/lib/libfreetype.so.6 /usr/lib/libfreetype.so
@zkirill
zkirill / gist:4fb42b4ba4b7cc58c4f0
Created March 7, 2016 23:19
Installing Rust and Cargo on FreeBSD
The package versions for Rust and Cargo are behind the port versions on FreeBSD at the moment so follow the instructions here to install the latest http://www.freshports.org/devel/cargo/ and http://www.freshports.org/lang/rust.
---
Optionally, get the latest ports with instructions from https://www.freebsd.org/doc/en/books/handbook/ports-using.html.
# portsnap fetch
# portsnap extract
# portsnap update
Kingston DataTraveler 100 G3 8GB / DT100G38GB
Plugged in after boot directly into USB port
--
umass0: <Kingston DataTraveler 3.0, class 0/0, rev 2.10/1.00, addr 2> on usbus1
umass0: SCSI over Bulk-Only; quirks = 0xc100
umass0:1:0: Attached to scbus1
da0 at umass-sim0 bus 0 scbus1 target 0 lun 0
Verifying that +zkirill is my blockchain ID. https://onename.com/zkirill