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.91 26-Jun-2022sha256: 22bf9f930684fc721c8471a88be625bbe84cc0e89b3dcd79c567a57b0c69d020
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

Also see: Getting Started with Chilkat Go on Ubuntu Linux

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.91 25-Jun-2022sha256: ae89496cedcf1a23c57441a509a90efbcf19f7a9f8b50a75f93a031786f389d3
Linux x64 External C Static Lib (gcc)

v9.5.0.91 25-Jun-2022sha256: 3a341682038b4cb5ba3ab26507e3a27fb0689a3516bc11934d3d5c3a8e154022
Linux x86 External C Static Lib (gcc)

v9.5.0.91 25-Jun-2022sha256: a04a926dab17b57214eafd7d8f865360aaed33ba1df8564a2e64688f5c465b09
Linux aarch64 External C Static Lib (gcc)

v9.5.0.91 25-Jun-2022sha256: 72ec8750b4b44242d27c95cef1e93dcb919e01a2fb1e6952cedb18f40796b89c
Linux armhf External C Static Lib (gcc)

v9.5.0.91 25-Jun-2022sha256: 04593b65fb51df5268e1d60979a41e02928a8e8aa51ab11a5ac37ca5ad49a045
Linux x64 External C Static Lib (clang)

v9.5.0.91 25-Jun-2022sha256: f90be5d4bc4046e58098906787481f28d13ea2afc7f90946783b745c507bb9f4
Linux x86 External C Static Lib (clang)

v9.5.0.91 25-Jun-2022sha256: 55d8eb60f2450f403d6d30b2d18071f5a584c7dafe2103046707fd59a10cf33a
Linux armhf External C Static Lib (clang)


Alpine Linux Native "C" Chilkat Go Libs

v9.5.0.91 26-Jun-2022sha256: a4003790379114ed3a37b2da5f95100cb5c32302fe68f8ec6aa2a8a0e9014a63
Alpine Linux x64 External C Static Lib (gcc)

v9.5.0.91 26-Jun-2022sha256: f84e86ff2a8f3e4e71646c7a23fd6bc71ab660eb8c940f1868b5579c92b0cfd1
Alpine Linux x86 External C Static Lib (gcc)

v9.5.0.91 26-Jun-2022sha256: 3b7d3237d18d26b7da432cb4561d182e533bf83a51ff2ec92cb81585de86c906
Alpine Linux aarch64 External C Static Lib (gcc)

v9.5.0.91 26-Jun-2022sha256: d9c13d51fd68b59bbce55734f7cca96cbbd762c4ab1e114a2e489afa0153a130
Alpine Linux armhf External C Static Lib (gcc)


MAC OS X Native "C" Chilkat Go Libs

v9.5.0.91 25-Jun-2022sha256: 6d1597bcaf59a1b17015af56b91d8507beb38b914d31ab183360a53bda26de38
MacOSX arm64 External C Static Lib (clang)

v9.5.0.91 25-Jun-2022sha256: bf929431f4f856506a5909b20a8bd6ba0c2c3384cba99bfaa512dbf541d533f9
MacOSX x86_64 External C Static Lib (clang)

v9.5.0.91 25-Jun-2022sha256: 4c4299c894221edd663f82b772c07ef5499ba3d6f6b2667eb39f4ff0e8fa8fdf
MacOSX i386 External C Static Lib (clang)


Solaris Native "C" Chilkat Go Libs

v9.5.0.91 26-Jun-2022sha256: 022a441b2851843044a80027bc5004c291fdb56c6168110697f9f8393ec24ac0
Solaris x64 External C Static Lib (gcc)

v9.5.0.91 26-Jun-2022sha256: 48b2ca2f1980c66d645de8b8f4b98a156a7af24b697fdba65a322d99e83cab34
Solaris x86 External C Static Lib (gcc)

v9.5.0.91 26-Jun-2022sha256: 998adf592dbba47568d30b6824fc489061cedd02eb90e8bf23ee1132bfa8ec8b
Solaris x64 External C Static Lib (solaris studio)

v9.5.0.91 26-Jun-2022sha256: 94ec312acbc0ab8648583faa903ee966e8acfebd3ba3656b87c17c907e103fbb
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.91 26-Jun-2022sha256: 4325d9f73c74ea03d435d94181434f068239646bd5d3a9cf9544cd3f984fcfdf
Windows 64-bit tdm-64-5.1.0 (dw2) C Static Lib

v9.5.0.91 26-Jun-2022sha256: 0b9ed1fd739edd82d837c9f10c25d862ecdcf1faab9e37db0eb17b79aa6bd10d
MinGW-w64 GCC-4.7.2 x86_64 C Static Lib

v9.5.0.91 26-Jun-2022sha256: f39d23e6a4dc907a35885699f14c3ae90c283d804f474c99ee16a6f151b7470b
MinGW-w64 GCC-8.1.0 x86_64-8.1.0-posix-seh C Static Lib

v9.5.0.91 26-Jun-2022sha256: ec7d0ea0dc82a6040d711b2128bcd1c4cd6f591d5853118f5992c488332a2ac5
MinGW-w64 GCC-8.1.0 x86_64-8.1.0-posix-sjlj C Static Lib

v9.5.0.91 26-Jun-2022sha256: 35cf6379cd173b0d9045e2f2d05df930e708e20fe93ade7c1bd5563923bc8c0b
MinGW-w64 GCC-8.1.0 x86_64-8.1.0-win32-seh C Static Lib

v9.5.0.91 26-Jun-2022sha256: b414988f7c0c5b27090220ac3a0cfae08e6a6668a12c249312bb9026894d5f8b
MinGW-w64 GCC-8.1.0 x86_64-8.1.0-win32-sjlj C Static Lib

v9.5.0.91 26-Jun-2022sha256: 68313e54a12d64fb64e193e390718a01567d64ca5f0f9d50d9f3bc7e8af96783
MinGW-w64 GCC-8.1.0 i686-8.1.0-posix-dwarf C Static Lib

v9.5.0.91 26-Jun-2022sha256: 039a19f052d026483f06e807c8db1c1969a24da2fc10b290de7e0d58e123c3fe
MinGW-w64 GCC-8.1.0 i686-8.1.0-posix-sjlj C Static Lib

v9.5.0.91 26-Jun-2022sha256: 90924e97165d851a94c5dfe1e39746b9cc1b925556ac988c9eed01ecc2b4b32c
MinGW-w64 GCC-8.1.0 i686-8.1.0-win32-dwarf C Static Lib

v9.5.0.91 26-Jun-2022sha256: 42f43e05122adab2dd16acb6f1c763658242a580499dc42f41220d1a14a8031a
MinGW-w64 GCC-8.1.0 i686-8.1.0-win32-sjlj C Static Lib

v9.5.0.91 26-Jun-2022sha256: 0f3f1df23d86593510905ee2ffe02344a8b6c3e7904bf88652ae3ee15fd00b3c
MinGW-w64 GCC-7.3.0 x86_64-7.3.0-posix-seh C Static Lib

v9.5.0.91 26-Jun-2022sha256: 852a7458bef350aa85a4a38d38d4d366f5f10d52be2bba8d984753a9905601ad
MinGW-w64 GCC-7.3.0 x86_64-7.3.0-posix-sjlj C Static Lib

v9.5.0.91 26-Jun-2022sha256: dbf95747fc954efe97c81a64460bf590aed89ec67c5a881c4f37d211a2d44ffd
MinGW-w64 GCC-7.3.0 x86_64-7.3.0-win32-seh C Static Lib

v9.5.0.91 26-Jun-2022sha256: 406114afbcc15da790f8043f048e2f60820c5dd42b4bd72444ee7a0fbf3f4f2c
MinGW-w64 GCC-7.3.0 x86_64-7.3.0-win32-sjlj C Static Lib

v9.5.0.91 26-Jun-2022sha256: 8f2702e17ffa241222d9efdd0bfe0e7644c17f28c3312342e62cb35333ff7e6b
MinGW-w64 GCC-7.3.0 i686-7.3.0-posix-dwarf C Static Lib

v9.5.0.91 26-Jun-2022sha256: 787c5f0924a1f5ef3f5a804da3b18ffca26c168d7035eecbe3be4755bddb75e7
MinGW-w64 GCC-7.3.0 i686-7.3.0-posix-sjlj C Static Lib

v9.5.0.91 26-Jun-2022sha256: 07e167778c159cf83dfec290faff86cc3ecd60aa41bd38849d319e42b326ce98
MinGW-w64 GCC-7.3.0 i686-7.3.0-win32-dwarf C Static Lib

v9.5.0.91 26-Jun-2022sha256: fdab18df3b8658c2415cf6799788821cfcfce7f91b2ca36bd4f59ad2ffdf4573
MinGW-w64 GCC-7.3.0 i686-7.3.0-win32-sjlj C Static Lib

v9.5.0.91 26-Jun-2022sha256: 0b7db8ddb255052fa5335f58ea4d825a29d6d77021bfd063b9d25d6e3acfb618
MinGW-w64 GCC-6.4.0 x86_64-6.4.0-posix-seh C Static Lib

v9.5.0.91 26-Jun-2022sha256: ee1e5355372295aa1daaaea685fdbc400d8bf848d01751b63ea0cb122b3b4112
MinGW-w64 GCC-6.4.0 x86_64-6.4.0-posix-sjlj C Static Lib

v9.5.0.91 26-Jun-2022sha256: cc404c144897bd3bc3488412b9f52516d1dceb9411012e640778546fe571f56a
MinGW-w64 GCC-6.4.0 x86_64-6.4.0-win32-seh C Static Lib

v9.5.0.91 26-Jun-2022sha256: 51d877418cae64c5270b56b09897cdd2a401974dce033e2c60f42380d617268f
MinGW-w64 GCC-6.4.0 x86_64-6.4.0-win32-sjlj C Static Lib

v9.5.0.91 26-Jun-2022sha256: b3f85171a510cde2d526b872ff0e20c2d30d45a909c98612dfc5253f86cb17d6
MinGW-w64 GCC-6.4.0 i686-6.4.0-posix-dwarf C Static Lib

v9.5.0.91 26-Jun-2022sha256: 88c65def9803ff52c9cf88a7c142802354a3f04a8a82bc2886efa2a45ad4afd0
MinGW-w64 GCC-6.4.0 i686-6.4.0-posix-sjlj C Static Lib

v9.5.0.91 26-Jun-2022sha256: 878e9143cec497809ce6ca6bc7f4cf599271cd727d799354655a42bb050bb858
MinGW-w64 GCC-6.4.0 i686-6.4.0-win32-dwarf C Static Lib

v9.5.0.91 26-Jun-2022sha256: 64e0bea19db58ec46baacc356073c0e8431672a8e3b13f303a1eafa2ef42b877
MinGW-w64 GCC-6.4.0 i686-6.4.0-win32-sjlj C Static Lib

v9.5.0.91 26-Jun-2022sha256: fa8edfac1bc6c4874bf32c4d3958ea28e8de9e28a89050e4fc88c6655980d3c9
MinGW 5.3.0 32-bit C Static Lib

v9.5.0.91 26-Jun-2022sha256: ce1922fcb5bb9227423a8a778914cb62fc4985d77f01666bda4440199e5edc74
MinGW 4.9.2 32-bit C Static Lib

v9.5.0.91 26-Jun-2022sha256: e41d8980af8e73f69f26c4059c6051717ea59b13396804531511f8a5ea74b445
MinGW-w64 GCC-4.9.2 x86_64-sjlj C Static Lib

v9.5.0.91 26-Jun-2022sha256: ea81b7b47e1a3ccc68cf0f464b6b0ea9dc1ac1e4a86043df42966d9c8a2caa57
MinGW-w64 GCC-4.8.1 (rv5) 32-bit C Static Lib

v9.5.0.91 26-Jun-2022sha256: cc54c03e48fb7b36fbac7513754494f2449c56301ce3d244354f90efa5dc2b34
MinGW-w64 GCC-4.8.1 (rv2) 32-bit C Static Lib

v9.5.0.91 26-Jun-2022sha256: 2307ed5b6dbb017b63f167d98ffd64b5e7511c872c710f249a444511469de170
MinGW-w64 GCC-4.8.1 x86_64-sjlj C Static Lib

v9.5.0.91 26-Jun-2022sha256: 7838754fa6b0fa2f2dc6c00d019eaff447055290221cc09ddc224dc6e329b53e
MinGW-w64 GCC-4.7.2 32-bit C Static Lib

v9.5.0.91 26-Jun-2022sha256: a4a9d761b74940f07cbba2199b10c2acc7fa1cdd732a7a60ee3fd9c748c3fad7
tdm-4.9.2-64 C Static Lib