Chilkat Go Language Package

for Windows, Linux, Alpine Linux, MAC OS X, Solaris, FreeBSD, and OpenBSD

* For Raspberry Pi 2/3, use Linux armhf/aarch64 downloads.

1) Download chilkat_go.zip to $GOPATH/src and unzip

Creates 3 directories under $GOPATH/src:

  • chilkat: The "chilkat" package. Contains .go source files, one per Chilkat class.
  • chilkat_example1: Simple example program making use of the "chilkat" package.
  • chilkat_example2: Example program demonstrating async methods and event callbacks.

v9.5.0.78 08-May-2019sha256: 8094352f0cdc2d3508cd8f81dac071cef8a0a7bd74145b4c4a62a84860a57e1e
chilkat_go.zip

 

2) Download One of the Native "C" Chilkat Go Libs

Choose the native "C" Chilkat library that matches your operating system, architecture, etc.
Download and extract to a directory of your choosing, such as $HOME/go_chilkat_c/

See Native "C" Downloads Below...

3) Set the CGO_LDFLAGS Environment Variable

Find the directory where the libchilkatext-9.5.0.a is located. This will be the directory for the -L option.
For example, -L$HOME/go_chilkat_c/linux-x64-gcc

On non-Windows systems, set the CGO_LDFLAGS to "-L$HOME/go_chilkat_c/linux-x64-gcc -lchilkatext-9.5.0 -lresolv -lpthread -lstdc++".

On Windows systems, use "-lws2_32". For example, CGO_LDFLAGS might be set to "-LC:/go_chilkat_c/tdm-5.1.0-64 -lchilkatExt-9.5.0 -lws2_32 -lstdc++".

On Mac OS X systems, set CGO_LDFLAGS
to "-L$HOME/go_chilkat_c/macosx-x86_64-clang -lchilkatext_x86_64 -lpthread -lresolv -lstdc++"
or "-L$HOME/go_chilkat_c/macosx-i386-clang -lchilkatext_i386 -lpthread -lresolv -lstdc++"

Note: Case sensitivity matters: The Windows lib is "chilkatExt", others are "chilkatext".

4) Build the "chilkat" package.

In $GOPATH/src/chilkat, type go build. Then type go install.

Note: go build takes some time, perhaps a minute or two.

5) Build and Run the Example Programs.

In $GOPATH/src/chilkat_example1, type go build. Then run chilkat_example1.

In $GOPATH/src/chilkat_example2, type go build. Then run chilkat_example2.

6) Finished

See Chilkat Go Reference Documentation and Chilkat Go Examples.

 


Go Language Debugging in Visual Studio Code with a Native "C" Lib

To debug a Go application that uses a native library, define "evn" in the launch.json file. For example:

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387

    //"showLog" : true,
    //"trace" :"verbose",
    //"logOutput":"rpc",

    "version": "0.2.0",
    "configurations": [
        {
            "name": "Launch",
            "type": "go",
            "request": "launch",
            "mode": "auto",
            "program": "${fileDirname}",
             "env": {"CGO_LDFLAGS":"-LC:/go_chilkat_c/tdm-5.1.0-64 -lchilkatExt-9.5.0 -lws2_32 -lstdc++"},
            "args": []
        }
    ]
}

Native "C" Chilkat Go Libs

Linux · Alpine Linux · MAC OS X · Solaris · FreeBSD · OpenBSD



Linux Native "C" Chilkat Go Libs

v9.5.0.78 08-May-2019sha256: c0bf8603527cfcb7b22acd3df698d2928b66315ab96d028f96d632c38499dfd7
Linux x64 External C Static Lib (gcc)

v9.5.0.78 08-May-2019sha256: b877dae492d9a19f2f6387e69ee98d8028d53bb70caf72f46b784903b0ae36e1
Linux x86 External C Static Lib (gcc)

v9.5.0.78 08-May-2019sha256: 5086d0b0d9515bb40482f9b432106b00120bdfa65f8245016e46b4893211582d
Linux aarch64 External C Static Lib (gcc)

v9.5.0.78 08-May-2019sha256: 17cba0411adcd446ec7118979404e9bbb16d26bbac292ff9803a3e5d21a89e42
Linux armhf External C Static Lib (gcc)

v9.5.0.78 08-May-2019sha256: 94973d740e3d00777ec443dad7ebae848089697696ef0b3c50794270249ecccd
Linux x64 External C Static Lib (clang)

v9.5.0.78 08-May-2019sha256: dc34124a313573a44e23ef9886fabf7ce03b7d8a51e28279241cb6ec866f24f1
Linux x86 External C Static Lib (clang)

v9.5.0.78 08-May-2019sha256: 8c88319490bcd5647e7b5a0654d62a4d4d559046bc6b169632568fba3f760903
Linux armhf External C Static Lib (clang)


Alpine Linux Native "C" Chilkat Go Libs

v9.5.0.78 08-May-2019sha256: 408e64b24cc3e3c6268825c02194451d3879cf0816907e9a8467d6f18eaf5f11
Alpine Linux x64 External C Static Lib (gcc)

v9.5.0.78 08-May-2019sha256: 6ec56fdf3e63d4a0d35701244ac7da7931bf8429e96648460c2bf16f372f70ee
Alpine Linux x86 External C Static Lib (gcc)

v9.5.0.78 08-May-2019sha256: 06055aaf6ecb8ad64595575762ed7c7be7903167066037e23f02687c0417a158
Alpine Linux aarch64 External C Static Lib (gcc)

v9.5.0.78 08-May-2019sha256: 96ee1580aa98d98c3146cdb704d94b827ec4817e0475f41a4e039c1af0d35013
Alpine Linux armhf External C Static Lib (gcc)


MAC OS X Native "C" Chilkat Go Libs

v9.5.0.78 08-May-2019sha256: eaf4bf11f941519a844fa867188547b16c5bb789af62ba4c3af60407824e6706
MacOSX x86_64 External C Static Lib (clang)

v9.5.0.78 08-May-2019sha256: eebbc3272b21ab62a402600920d5765f8a7724db1d862fc93787c98d3ed7e900
MacOSX i386 External C Static Lib (clang)


Solaris Native "C" Chilkat Go Libs

v9.5.0.78 08-May-2019sha256: edd8a307d6c1436ffd0d1fa1e66ca8139a66077091f06c909c87d7d7fb9ea64c
Solaris x64 External C Static Lib (gcc)

v9.5.0.78 08-May-2019sha256: 99436c4538d0ea77bbe16bd54e5a2cf609877299125282c0aa1471f086788285
Solaris x86 External C Static Lib (gcc)

v9.5.0.78 08-May-2019sha256: faca41b836bcbf0670c28897fece7b73dd1e1fd5d6712b6242b3b1e75f1860ac
Solaris x64 External C Static Lib (solaris studio)

v9.5.0.78 08-May-2019sha256: a7f54b3b358c735b5f903fa5b40c9af648e6802033518ca32d1a829d90ce5556
Solaris x86 External C Static Lib (solaris studio)


FreeBSD Native "C" Chilkat Go Libs

v9.5.0.78 08-May-2019sha256: 3738bfd32951dc287073432a1e3ca52d33237d43d2d06bcdf1903f078b8548cf
FreeBSD x64 External C Static Lib (clang)

v9.5.0.78 08-May-2019sha256: 3067abe7d311f6c3d41362a0908dd8d1afe74b7c3a2a1d80ff98c442d65f6c7f
FreeBSD x86 External C Static Lib (clang)

v9.5.0.78 08-May-2019sha256: b9c2a30d24616080b52ff85418e122be5ab88b61d56de78e8f79c0ae27021118
FreeBSD x64 External C Static Lib (gcc)

v9.5.0.78 08-May-2019sha256: eddd2206d1c6d674142aadbd7b54184f74814eeb48ef93f0b775ec987db379ab
FreeBSD x86 External C Static Lib (gcc)


OpenBSD Native "C" Chilkat Go Libs

v9.5.0.78 08-May-2019sha256: 44a17bfc57140cae1e68188af5507a5df5fb07fbf83ccf6968b8484cd74a06cb
OpenBSD x64 External C Static Lib (clang)

v9.5.0.78 08-May-2019sha256: b29e8b2c402ff40f3aa4f7db2649ea8a5d19cb08be548d044c5879ccc8110ca4
OpenBSD x86 External C Static Lib (clang)

v9.5.0.78 08-May-2019sha256: 8f91666a931f5e54a36051a8417a9f215fecaae5f7278a97a46258c010d1aee4
OpenBSD x64 External C Static Lib (gcc)

v9.5.0.78 08-May-2019sha256: 024a08979c407e23eddc760bd4c7cfd5e4e70b174d67a32986c63400ed782228
OpenBSD x86 External C Static Lib (gcc)

Windows Native "C" Chilkat Go Libs

v9.5.0.78 07-May-2019sha256: 183acde34ba1d3a57b36ae6232625ba732d107cbee522ca7b6cc72a87f387beb
Windows 64-bit tdm-64-5.1.0 (dw2) C Static Lib

v9.5.0.78 07-May-2019sha256: 90dfc1d0963a8208239369efdfcbbd95373c9cab89a607d728eeaeca42a46f48
MinGW-w64 GCC-4.7.2 x86_64 C Static Lib

v9.5.0.78 07-May-2019sha256: 9e7d904acd2a97d308222876c6260f730deb158129e1370165698feca242701f
MinGW-w64 GCC-8.1.0 x86_64-8.1.0-posix-seh C Static Lib

v9.5.0.78 07-May-2019sha256: 57c386bdb808ebc00cb604fb8279b8c468d4f455d9e04fce55274bcdaa3fcdf4
MinGW-w64 GCC-8.1.0 x86_64-8.1.0-posix-sjlj C Static Lib

v9.5.0.78 07-May-2019sha256: 2df82344f8391975d7c0d8ddd03c81013092fbb77cf599c22b79b6ccbbbe1507
MinGW-w64 GCC-8.1.0 x86_64-8.1.0-win32-seh C Static Lib

v9.5.0.78 07-May-2019sha256: d79920bbf2996dc49f5da3bb17eb102aba5419ee55cefab68984187d68ea014a
MinGW-w64 GCC-8.1.0 x86_64-8.1.0-win32-sjlj C Static Lib

v9.5.0.78 07-May-2019sha256: 6565894853f5840df46347a76ce98a10d7d9721c82ad3ec365ab9b4e55611de8
MinGW-w64 GCC-8.1.0 i686-8.1.0-posix-dwarf C Static Lib

v9.5.0.78 07-May-2019sha256: 7bbfb2ce5bd3180e859ada327d32d681d7b9b94d661da416dd1a0ce849722662
MinGW-w64 GCC-8.1.0 i686-8.1.0-posix-sjlj C Static Lib

v9.5.0.78 07-May-2019sha256: 18e939b221e72175a4d41ef9f31eea18c31cce47ea45c48616e9bfea76976d5a
MinGW-w64 GCC-8.1.0 i686-8.1.0-win32-dwarf C Static Lib

v9.5.0.78 07-May-2019sha256: a7cdd112db77c51efb8452989ac5fd08ea01f84c405dbb8874e669f7ee92ebbd
MinGW-w64 GCC-8.1.0 i686-8.1.0-win32-sjlj C Static Lib

v9.5.0.78 07-May-2019sha256: 992d11ce3f716dba6086df61a1c22219b50b2cd5a187d9d8df8290c1b0ecbb6e
MinGW-w64 GCC-7.3.0 x86_64-7.3.0-posix-seh C Static Lib

v9.5.0.78 07-May-2019sha256: f86d43300fbd25cbeb3b1e86bcc3115b5585ab87ae64317bb5f8d92408162055
MinGW-w64 GCC-7.3.0 x86_64-7.3.0-posix-sjlj C Static Lib

v9.5.0.78 07-May-2019sha256: 602f9ae10c329cd703da7f8b728da3e597f0616fbfc8ce6772b617e291f9d751
MinGW-w64 GCC-7.3.0 x86_64-7.3.0-win32-seh C Static Lib

v9.5.0.78 07-May-2019sha256: 950a5673399fec6631bd9af677a37f843283997eec0d8181e7d0b29211453ce0
MinGW-w64 GCC-7.3.0 x86_64-7.3.0-win32-sjlj C Static Lib

v9.5.0.78 07-May-2019sha256: 48a279b255359c61abaab96975b375f3d341fb2213dc36c7a959b41316fc2c8e
MinGW-w64 GCC-7.3.0 i686-7.3.0-posix-dwarf C Static Lib

v9.5.0.78 07-May-2019sha256: 43578e6f58e635a50a3c254ef90a74107d639415beda626a142f99acb582cdec
MinGW-w64 GCC-7.3.0 i686-7.3.0-posix-sjlj C Static Lib

v9.5.0.78 07-May-2019sha256: 99e767e6654ef326a5a5db248e7a3f83f129e1f07c6da90150ca7290795ca153
MinGW-w64 GCC-7.3.0 i686-7.3.0-win32-dwarf C Static Lib

v9.5.0.78 07-May-2019sha256: a8afe1bb3549ffe8684f3363576d60549de11838bfe4ea98485f255e9bbb3e11
MinGW-w64 GCC-7.3.0 i686-7.3.0-win32-sjlj C Static Lib

v9.5.0.78 07-May-2019sha256: d27698c1f5a7ad18b20856c25988af0d46d1db48ccc9a2a5b16f1f468298b400
MinGW-w64 GCC-6.4.0 x86_64-6.4.0-posix-seh C Static Lib

v9.5.0.78 07-May-2019sha256: bd62de12f9e4f5f937a58e5574ebbaa34f407142acd23c4a07913a2757b83a09
MinGW-w64 GCC-6.4.0 x86_64-6.4.0-posix-sjlj C Static Lib

v9.5.0.78 07-May-2019sha256: a3c5c048b91694fe3a7e6a68494b5057e119248690b54cf3a69aec5331e72c62
MinGW-w64 GCC-6.4.0 x86_64-6.4.0-win32-seh C Static Lib

v9.5.0.78 07-May-2019sha256: aa943a7c1c82668c6a0a1df65040eb59f249a6bdf84e0c3fee7fa0ae81195bd0
MinGW-w64 GCC-6.4.0 x86_64-6.4.0-win32-sjlj C Static Lib

v9.5.0.78 07-May-2019sha256: 4188e6011c280dcc8660a9686d4e66cf9aecfc9d6d75ad2afbb78a263d43a691
MinGW-w64 GCC-6.4.0 i686-6.4.0-posix-dwarf C Static Lib

v9.5.0.78 07-May-2019sha256: 5fc255750b08cc899f1412a383cecf198aa2669287849cea47a4afa5c1b2de47
MinGW-w64 GCC-6.4.0 i686-6.4.0-posix-sjlj C Static Lib

v9.5.0.78 07-May-2019sha256: a3426e6664b6997525e3c8c037efd74f3284cf2a881b994a8957a3662fc59305
MinGW-w64 GCC-6.4.0 i686-6.4.0-win32-dwarf C Static Lib

v9.5.0.78 07-May-2019sha256: 5cc581bccabe44d9aeebd171fca47065deae5a255bf13387bf7141aac36ec009
MinGW-w64 GCC-6.4.0 i686-6.4.0-win32-sjlj C Static Lib

v9.5.0.78 07-May-2019sha256: 304235e0796005d02f8fb96388710bc38dcb57efb0955208003c944f184bfe1b
MinGW 5.3.0 32-bit C Static Lib

v9.5.0.78 07-May-2019sha256: 36ee84fc11cc073b3b86081f5eeb66bf2a0826a4ae5d5fcfdc6119f2d263f908
MinGW 4.9.2 32-bit C Static Lib

v9.5.0.78 07-May-2019sha256: f4a56246055db79df966ba515ad40dc9f54e7b895df16018773d13a4fbb51d0f
MinGW-w64 GCC-4.9.2 x86_64-sjlj C Static Lib

v9.5.0.78 07-May-2019sha256: 1255c333490b20a10447a6657ef476243516055d84500752c4e5a6be51ba36c2
MinGW-w64 GCC-4.8.1 (rv5) 32-bit C Static Lib

v9.5.0.78 07-May-2019sha256: 5d303d23b4c6789eee7f82931285b3b1754b56c42786937c1216a37703d9175d
MinGW-w64 GCC-4.8.1 (rv2) 32-bit C Static Lib

v9.5.0.78 07-May-2019sha256: 48483e177bc87724928ad9348ae6db4702c93e48c426d7c572098d5c4f7b7c47
MinGW-w64 GCC-4.8.1 x86_64-sjlj C Static Lib

v9.5.0.78 07-May-2019sha256: 420728fcb6e45797a323a3683e5170d91d6b223441b0fa8714c5b4466a04d5cb
MinGW-w64 GCC-4.7.2 32-bit C Static Lib

v9.5.0.78 07-May-2019sha256: 2c803002963b6bbe8d4e8cddccce2b9cbb753487248a69d0a99a5c79c181aac6
MinGW 4.6.3 32-bit C Static Lib

v9.5.0.78 07-May-2019sha256: 4926aaa4627934efdf21cd56e0367c7f848301974e1b704dd6ba93a85627351b
MinGW 4.6.3 64-bit C Static Lib

v9.5.0.78 07-May-2019sha256: 2bcbe5fa7f6b2b2aa1757931fbdd3fd74e6ff9062d8f8b81b7ac6687401559f6
tdm-4.9.2-64 C Static Lib

v9.5.0.78 07-May-2019sha256: ecaf901bb5c8300ba1412d14af3c9a8f47581c72da56c706f072ed20b425e95b
tdm-4.7.1-64 C Static Lib