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.90 26-Mar-2022sha256: c507a40bc20deaa03e1ce7a8796c4a2272061c43855c86f372380120156a8d0b
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.
(The "libchilkatext-9.5.0.a" is contained in the native "C" download.)

If on Windows, see How to Choose the Native "C" Chilkat Go Library on Windows

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 -ldl -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 -ldl -lstdc++"
or "-L$HOME/go_chilkat_c/macosx-i386-clang -lchilkatext_i386 -lpthread -lresolv -ldl -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.

 


Static Linking on MinGW/Linux to Remove stdlibc++ Dependency

See Go Language Static Linking

Also see Statically Compiling Golang application with CGO_ENABLED


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

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



Linux Native "C" Chilkat Go Libs

v9.5.0.90 24-Mar-2022sha256: 34b6c41f7f59a78416019eac6e712787c1b620efd890c518fd1edf740c18a29e
Linux x64 External C Static Lib (gcc)

v9.5.0.90 24-Mar-2022sha256: 0fc159442893994db483661b85dedd31fca557248f97d3dfe2c7904b47923b23
Linux x86 External C Static Lib (gcc)

v9.5.0.90 24-Mar-2022sha256: 0fb5a020bc87181c1ab5c8587a9b5234619e9d264d3c6c264993c898882eb276
Linux aarch64 External C Static Lib (gcc)

v9.5.0.90 24-Mar-2022sha256: 07bddae4ffb571d74fa0165d9a09188824973dbf1bc50f99653540a89bf3746c
Linux armhf External C Static Lib (gcc)

v9.5.0.90 24-Mar-2022sha256: 67647b59ccadeb869983f5f60a78826d6c9f32a77d36d017c788c0857e52828b
Linux x64 External C Static Lib (clang)

v9.5.0.90 24-Mar-2022sha256: 128061ca7b0ad7a8a2dff82acb8445d07ea73f4a7d556a3b2ec00e828da8b9d4
Linux x86 External C Static Lib (clang)

v9.5.0.90 24-Mar-2022sha256: 042eba62baed4b4a8f17c210a5104771a70ed418284b699476f000725c47fe5a
Linux armhf External C Static Lib (clang)


Alpine Linux Native "C" Chilkat Go Libs

v9.5.0.90 24-Mar-2022sha256: cb505b45ee702d186ba054160cb10d0168a14a54bd7ac6ae90614894bc14fc1f
Alpine Linux x64 External C Static Lib (gcc)

v9.5.0.90 24-Mar-2022sha256: e76143eeca0fa5c611a477939c8d26d0e40ea706172c1f46dd8c9cb4855e0bab
Alpine Linux x86 External C Static Lib (gcc)

v9.5.0.90 26-Mar-2022sha256: b2e6fdd755287149beae0326d197ddc0362d866e7b55d12ba8bbdade349a6bb7
Alpine Linux aarch64 External C Static Lib (gcc)

v9.5.0.90 26-Mar-2022sha256: 6d89b8f98cdc500d410043222ac4aba6f463d006aedb97d33b960d3124ffb1d9
Alpine Linux armhf External C Static Lib (gcc)


MAC OS X Native "C" Chilkat Go Libs

v9.5.0.90 20-May-2022sha256: 3054ad470eb7b40b3056497c351c6f08c019330e78914efb79e77c2a61e1559c
MacOSX arm64 External C Static Lib (clang)

v9.5.0.90 24-Mar-2022sha256: 178d7f4475b986162b8fdcb00924a55a563374329db6ad4087b4f87fbe1043ae
MacOSX x86_64 External C Static Lib (clang)

v9.5.0.90 24-Mar-2022sha256: 8e46b7b1f06e43e057aa842fd2bae38b85ceeb5eca67ef03ed56623715477686
MacOSX i386 External C Static Lib (clang)


Solaris Native "C" Chilkat Go Libs

v9.5.0.90 26-Mar-2022sha256: 3183fba2130548643e9c8166b7586f4053b1eeabae2ce111e9659e14bd979454
Solaris x64 External C Static Lib (gcc)

v9.5.0.90 26-Mar-2022sha256: d97716b98919319ea237447731ff4509f4e522cc9a7c7b667e6a61a7795b9d46
Solaris x86 External C Static Lib (gcc)

v9.5.0.90 26-Mar-2022sha256: 0d805dd3a0e6c5a8bd0fecfacef26af8cf2ede45726a983690b1812950181b6f
Solaris x64 External C Static Lib (solaris studio)

v9.5.0.90 26-Mar-2022sha256: d04bae742221f0040dcb74950418b5714d7235f02a1cdb1fda570c7c58c253d8
Solaris x86 External C Static Lib (solaris studio)

Windows Native "C" Chilkat Go Libs

See How to Choose the Native "C" Chilkat Go Library on Windows

v9.5.0.90 05-Apr-2022sha256: 1c69c426dad9f0677f69dac0b91f60168345ab6c525141435c99e03526c4a97e
Windows 64-bit tdm-64-5.1.0 (dw2) C Static Lib

v9.5.0.90 05-Apr-2022sha256: 075c220b57380d4ceb65cef20f731c794ebc76f580c89725b7b6e716d0dec78d
MinGW-w64 GCC-4.7.2 x86_64 C Static Lib

v9.5.0.90 05-Apr-2022sha256: 7fbd9f4743ce3bc2c4fbff35196922f372c7890b499181591ff6ae2778b07d3a
MinGW-w64 GCC-8.1.0 x86_64-8.1.0-posix-seh C Static Lib

v9.5.0.90 05-Apr-2022sha256: 82c49d807bbd498b8e46e8ebe4495cd6ab6fbe31f2fc80489a59911443c53e64
MinGW-w64 GCC-8.1.0 x86_64-8.1.0-posix-sjlj C Static Lib

v9.5.0.90 05-Apr-2022sha256: 828ff532ee138c9335a60ec5862d9f9ddce5039105a808a839829defbbe49b0f
MinGW-w64 GCC-8.1.0 x86_64-8.1.0-win32-seh C Static Lib

v9.5.0.90 05-Apr-2022sha256: 2464cdcfb7f8ed7e96ee1c2d5322c3f407a2f12f8655c1cd112ca47b3ae5a43d
MinGW-w64 GCC-8.1.0 x86_64-8.1.0-win32-sjlj C Static Lib

v9.5.0.90 05-Apr-2022sha256: 09382d85713112203033340727e1e2b0752f548324453baf72a9efb3b7f7c26e
MinGW-w64 GCC-8.1.0 i686-8.1.0-posix-dwarf C Static Lib

v9.5.0.90 05-Apr-2022sha256: a87628b1b1d900f97d41c6e5551ddd9e20dbdfe5574033c2f200ef1e23d9429d
MinGW-w64 GCC-8.1.0 i686-8.1.0-posix-sjlj C Static Lib

v9.5.0.90 05-Apr-2022sha256: 3e344efae63058efc30bbc671f3beaeaa28a8b2d1f06724a893502056219dc8b
MinGW-w64 GCC-8.1.0 i686-8.1.0-win32-dwarf C Static Lib

v9.5.0.90 05-Apr-2022sha256: 91cc26311d1d9ff1c15117b038c04890fdf9afb4b6784807d56f0e3d4206717b
MinGW-w64 GCC-8.1.0 i686-8.1.0-win32-sjlj C Static Lib

v9.5.0.90 05-Apr-2022sha256: de72514953e4975b154c0ff7a411b96c9e059b65efe2ad1c139d45272be4ba46
MinGW-w64 GCC-7.3.0 x86_64-7.3.0-posix-seh C Static Lib

v9.5.0.90 05-Apr-2022sha256: fd3fd71c81834478138080c713e79018bae3d7d342c79d28ab997fc92483fa68
MinGW-w64 GCC-7.3.0 x86_64-7.3.0-posix-sjlj C Static Lib

v9.5.0.90 05-Apr-2022sha256: 8501f74feb287531a9fd7e79f4150d0d60b9a62bfcdbad4883f9e9a98b144252
MinGW-w64 GCC-7.3.0 x86_64-7.3.0-win32-seh C Static Lib

v9.5.0.90 05-Apr-2022sha256: 0f3ab3303f8d207d8dbdb6df04090ee1e31d3e2dfe2a393431cf0319853255cb
MinGW-w64 GCC-7.3.0 x86_64-7.3.0-win32-sjlj C Static Lib

v9.5.0.90 05-Apr-2022sha256: b3fb68ca15f9374da2fd1561d0d198613e9299d1a53e06b948d06b6a2ea908d0
MinGW-w64 GCC-7.3.0 i686-7.3.0-posix-dwarf C Static Lib

v9.5.0.90 05-Apr-2022sha256: 417e26cd3ae6ee2851ccb25ff705ae27f74619238bd904d7650f6cf9a1a720ef
MinGW-w64 GCC-7.3.0 i686-7.3.0-posix-sjlj C Static Lib

v9.5.0.90 05-Apr-2022sha256: f34906f5c773235a1c228ae6f4ad7d95f15d0474a5db4810320a35a90b9ea8d3
MinGW-w64 GCC-7.3.0 i686-7.3.0-win32-dwarf C Static Lib

v9.5.0.90 05-Apr-2022sha256: dacdb391f51a71d069f8922ef595dcf3e008dd00641098234033a2c7d34ec24c
MinGW-w64 GCC-7.3.0 i686-7.3.0-win32-sjlj C Static Lib

v9.5.0.90 05-Apr-2022sha256: 9663395a8c4b02ac7c7b94f497797b83515671c7fe9217cb84143472f9517e11
MinGW-w64 GCC-6.4.0 x86_64-6.4.0-posix-seh C Static Lib

v9.5.0.90 05-Apr-2022sha256: 5b2a60211e3a8f7098d0b6e2a2b8e4b1e1645822e39a6a2af110e2f9cd0fe1d7
MinGW-w64 GCC-6.4.0 x86_64-6.4.0-posix-sjlj C Static Lib

v9.5.0.90 05-Apr-2022sha256: fce3e2cab28e6e940be2538e7c2c77870114933d8ca6c8da41720b14b4091bad
MinGW-w64 GCC-6.4.0 x86_64-6.4.0-win32-seh C Static Lib

v9.5.0.90 05-Apr-2022sha256: d8f1e1136c1fcf34112198827418e7482b01e6eebb6c407d9db2d644001ca6f8
MinGW-w64 GCC-6.4.0 x86_64-6.4.0-win32-sjlj C Static Lib

v9.5.0.90 05-Apr-2022sha256: acc743fe4d923267b12800af7994fc08e05d6da05767655093f9aca87939ef23
MinGW-w64 GCC-6.4.0 i686-6.4.0-posix-dwarf C Static Lib

v9.5.0.90 05-Apr-2022sha256: 661fa79bc8996e49f46142ac24b37141414ddac56453e07e6b7daf7e5431f9d9
MinGW-w64 GCC-6.4.0 i686-6.4.0-posix-sjlj C Static Lib

v9.5.0.90 05-Apr-2022sha256: b348982f5e1cf4a0cb64f986b73750478a7f82360411f9a63013b36b38634f92
MinGW-w64 GCC-6.4.0 i686-6.4.0-win32-dwarf C Static Lib

v9.5.0.90 05-Apr-2022sha256: 03361f8db56b948914def453ffbd581bfaaab9378508ebb3e9c3cbb1b20f3474
MinGW-w64 GCC-6.4.0 i686-6.4.0-win32-sjlj C Static Lib

v9.5.0.90 05-Apr-2022sha256: bf11bd8d19a5fa0f67b239983768eee344ce0da4c6030095041f8697109f403a
MinGW 5.3.0 32-bit C Static Lib

v9.5.0.90 05-Apr-2022sha256: 372351dc1ea1f41d2a9ce7fa7185da1d55934a026e53f0785eca3f4b172e69e0
MinGW 4.9.2 32-bit C Static Lib

v9.5.0.90 05-Apr-2022sha256: 94572580248d975923cedf0afda26d59ec6bae15f4561cb315151983de36e267
MinGW-w64 GCC-4.9.2 x86_64-sjlj C Static Lib

v9.5.0.90 05-Apr-2022sha256: 8067d4c4067bf306f791012e511cb61eeb6d61671f063c997ad9c331d7d9ae81
MinGW-w64 GCC-4.8.1 (rv5) 32-bit C Static Lib

v9.5.0.90 05-Apr-2022sha256: f5559d51bb26fc5f42787d2c3fab56958e579e6d12d00be193c55ac5622822ca
MinGW-w64 GCC-4.8.1 (rv2) 32-bit C Static Lib

v9.5.0.90 05-Apr-2022sha256: c75feea5ea74e24c2949553c75e56fa9a5a778c01b7471b7329ae5432bb4482c
MinGW-w64 GCC-4.8.1 x86_64-sjlj C Static Lib

v9.5.0.90 05-Apr-2022sha256: 89396d0758217a16d199dc3b852b664f9ab86655e2b897af9c8f31d1b36f852b
MinGW-w64 GCC-4.7.2 32-bit C Static Lib

v9.5.0.90 05-Apr-2022sha256: 939d44f7f43969a305fbc894bda7fc8c6f8ad8607c475fa96c8e1b9b8e9f30ca
tdm-4.9.2-64 C Static Lib