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.82 05-Mar-2020sha256: 59b967dfd212f1e1315c96e6e6bd0a06c52c6ab0b746b35a3e13c8a6f47076a7
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.

 


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

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



Linux Native "C" Chilkat Go Libs

v9.5.0.82 26-Feb-2020sha256: 9dc786860ea4882f8fa707cfd8d0f4683ce976e84d92bdf9c97415c8d1f827b8
Linux x64 External C Static Lib (gcc)

v9.5.0.82 26-Feb-2020sha256: 578144d76261b7238af5b86441cb55a55ec5fff4cc9555237f58f0850783e39c
Linux x86 External C Static Lib (gcc)

v9.5.0.82 26-Feb-2020sha256: fcd29e0ed07e6fa555ed2d258879a64ae9bc18eb43a5e0b7e70a766bc9abf2a9
Linux aarch64 External C Static Lib (gcc)

v9.5.0.82 26-Feb-2020sha256: 359d8cf4c2c529dc8187d07714bdea5cce9f375df4a425eeb6ad6b9725d0f999
Linux armhf External C Static Lib (gcc)

v9.5.0.82 26-Feb-2020sha256: 1ec426a00c983f3006914f4582b10d8775a188c7ae125b7d3ef32ccd682c8e02
Linux x64 External C Static Lib (clang)

v9.5.0.82 26-Feb-2020sha256: 5f01ec04918b1b24864ed59b624d40328f96be8ed0a776297dd93b85b5c5c6cd
Linux x86 External C Static Lib (clang)

v9.5.0.82 26-Feb-2020sha256: e859c470550fc2984a7818997583cc5cbb6c582256063ff31ba5ddef95c8bd00
Linux armhf External C Static Lib (clang)


Alpine Linux Native "C" Chilkat Go Libs

v9.5.0.82 26-Feb-2020sha256: aa4359464e5d9fbdde7aeb90bc33b6321166675714344907ce03becddfa7f163
Alpine Linux x64 External C Static Lib (gcc)

v9.5.0.82 26-Feb-2020sha256: 8fd7b3edb59bf650f83509afb93f3758d93d90e76182754fd73761e5c5fa8168
Alpine Linux x86 External C Static Lib (gcc)

v9.5.0.82 26-Feb-2020sha256: 5ee15863e209614d4e180ec79eb925f50e21d7eed05b006b3a92dff04c8e1b46
Alpine Linux aarch64 External C Static Lib (gcc)

v9.5.0.82 26-Feb-2020sha256: 1714eaf748b560e1a452831e153fa1ba497b2e7c099ada97c52141baf63b7114
Alpine Linux armhf External C Static Lib (gcc)


MAC OS X Native "C" Chilkat Go Libs

v9.5.0.82 26-Feb-2020sha256: c4c01afd422065b31e5d8dc0017607216304d009e2d2bf86cb247fece7505ffd
MacOSX x86_64 External C Static Lib (clang)

v9.5.0.82 26-Feb-2020sha256: b5c014c6b74e237b11aee23ecab83e0599ae6853c84f9155dd536f41c83682e8
MacOSX i386 External C Static Lib (clang)


Solaris Native "C" Chilkat Go Libs

v9.5.0.82 26-Feb-2020sha256: ee23d72d4fd1fce4d88e1c906285c064ab24321865cd6200aca7b953b91e0ea3
Solaris x64 External C Static Lib (gcc)

v9.5.0.82 26-Feb-2020sha256: eb811b6c18bc9c1f7aa0cf836050d18c8322f4c6bdace2a9cadb281759b3a0d7
Solaris x86 External C Static Lib (gcc)

v9.5.0.82 26-Feb-2020sha256: b8396a95cc0da44fce83c1710f22dd3fa4312a78327a74508ea95e46d10cac71
Solaris x64 External C Static Lib (solaris studio)

v9.5.0.82 26-Feb-2020sha256: 1288f2af7ca7a908740a8e9f6eb4f5e3509cc1bafe318b0517947a6dbfdb4308
Solaris x86 External C Static Lib (solaris studio)


FreeBSD Native "C" Chilkat Go Libs

v9.5.0.82 26-Feb-2020sha256: 8c0c63362155760e4e28b95d5606d1dddc31baeba4d855d1afff561ebdb0848a
FreeBSD x64 External C Static Lib (clang)

v9.5.0.82 26-Feb-2020sha256: e28ac217e498b1f603bb11cbd15952337b60c112bd1c875e24da0a7c1f9335d5
FreeBSD x86 External C Static Lib (clang)

v9.5.0.82 26-Feb-2020sha256: ff1098a346fd4632826a44c6973954615c4f1f105378fcfc0cc6457faa77439e
FreeBSD x64 External C Static Lib (gcc)

v9.5.0.82 26-Feb-2020sha256: 4314225e4f918b092f81f65f5f71313ac63c588f992976d2030949f9669edc6b
FreeBSD x86 External C Static Lib (gcc)


OpenBSD Native "C" Chilkat Go Libs

v9.5.0.82 26-Feb-2020sha256: c310f553d82efbae326fcf6ade46142e9946aeabf53f680effccc5c01532fd96
OpenBSD x64 External C Static Lib (clang)

v9.5.0.82 26-Feb-2020sha256: b0c937844d82511296d7398c17ddcdbeec58ac279ff79b46a0c668ef9c2af6fc
OpenBSD x86 External C Static Lib (clang)

v9.5.0.82 26-Feb-2020sha256: cec9216293faac85a2300481fb5afb00ddf3b47a33b981a2ecc8b412a30c7579
OpenBSD x64 External C Static Lib (gcc)

v9.5.0.82 26-Feb-2020sha256: 0395cbefa5da987f99bc60490fd7bcf37a5a7d421c2f92058074fcef13155add
OpenBSD x86 External C Static Lib (gcc)

Windows Native "C" Chilkat Go Libs

v9.5.0.82 25-Feb-2020sha256: 93b9f480b4e5509bc66b6ef861d200bb8022bccc4f38226ca929d478d17c9068
Windows 64-bit tdm-64-5.1.0 (dw2) C Static Lib

v9.5.0.82 25-Feb-2020sha256: 83155bd321615ce5887a18d8eba5468bcff2890245156451156658d6c4434cde
MinGW-w64 GCC-4.7.2 x86_64 C Static Lib

v9.5.0.82 25-Feb-2020sha256: 1ef955b7fc7b8d4d04795efbb5fd18fc4ce1805f40eafc3b901baa835614a93f
MinGW-w64 GCC-8.1.0 x86_64-8.1.0-posix-seh C Static Lib

v9.5.0.82 25-Feb-2020sha256: 9bf044b18379a8142d299559a5f4c687fc3e87b7f50d9230a0a53c54a0243cb9
MinGW-w64 GCC-8.1.0 x86_64-8.1.0-posix-sjlj C Static Lib

v9.5.0.82 25-Feb-2020sha256: cf45866b0f5e021d5535ba47a4d17c52b2e92b44de36b50a88e8651559dfb61f
MinGW-w64 GCC-8.1.0 x86_64-8.1.0-win32-seh C Static Lib

v9.5.0.82 25-Feb-2020sha256: 216441c672ce368c279591518ee4d833c6fb25780cd87aa83221d4ceee150ca5
MinGW-w64 GCC-8.1.0 x86_64-8.1.0-win32-sjlj C Static Lib

v9.5.0.82 25-Feb-2020sha256: 8d9131665b00bf5bb3f3945461b0e6eb2955171f61ac23f8418aa7d033dfd823
MinGW-w64 GCC-8.1.0 i686-8.1.0-posix-dwarf C Static Lib

v9.5.0.82 25-Feb-2020sha256: 97641a9a8c393decafe9f0aedc584a3d956b9d405353544ab256c1369e35bf8f
MinGW-w64 GCC-8.1.0 i686-8.1.0-posix-sjlj C Static Lib

v9.5.0.82 25-Feb-2020sha256: e9780993ddb4769d1bcfd0642d4f5571e8a54b90ee37300c0405f8933f424518
MinGW-w64 GCC-8.1.0 i686-8.1.0-win32-dwarf C Static Lib

v9.5.0.82 25-Feb-2020sha256: 08511459cea3df48ff7ef9c1cb02bb1fe97826babe081597ce0e56534f5f2d59
MinGW-w64 GCC-8.1.0 i686-8.1.0-win32-sjlj C Static Lib

v9.5.0.82 25-Feb-2020sha256: a1aaf2cd0643b045e6259251956add51ca09d5fba48b46838460fbdf06eb238b
MinGW-w64 GCC-7.3.0 x86_64-7.3.0-posix-seh C Static Lib

v9.5.0.82 25-Feb-2020sha256: eacba6e73c629678c9f47c6cb6f039a3fd1a5ef8d4dc4c2f8f84e124a39ba627
MinGW-w64 GCC-7.3.0 x86_64-7.3.0-posix-sjlj C Static Lib

v9.5.0.82 25-Feb-2020sha256: c6cceb6cc50cf2906f4b4b3202b49d43c5af3dbff8ee5fe12424bed309623fc5
MinGW-w64 GCC-7.3.0 x86_64-7.3.0-win32-seh C Static Lib

v9.5.0.82 25-Feb-2020sha256: 99db8ce80485dfe0bc1b3b237857fd2529b000b6449ced4869ea5d9aef90779d
MinGW-w64 GCC-7.3.0 x86_64-7.3.0-win32-sjlj C Static Lib

v9.5.0.82 25-Feb-2020sha256: 95b92f1ad33656cb80e68e9f6426ceab3e707c749bce59fcc0c83c15d4624dee
MinGW-w64 GCC-7.3.0 i686-7.3.0-posix-dwarf C Static Lib

v9.5.0.82 25-Feb-2020sha256: 0a1bfd6c3c926deb1d41097584c0d8426d31e665272b277281e3498796b05c8a
MinGW-w64 GCC-7.3.0 i686-7.3.0-posix-sjlj C Static Lib

v9.5.0.82 25-Feb-2020sha256: bf5c133b59e50d498079497b3011e7be52f8086957a4f4b92741017184db5693
MinGW-w64 GCC-7.3.0 i686-7.3.0-win32-dwarf C Static Lib

v9.5.0.82 25-Feb-2020sha256: b7e41e3792215a5828b9315b482127d7d876c651de697bb63f8fb8b7b398f747
MinGW-w64 GCC-7.3.0 i686-7.3.0-win32-sjlj C Static Lib

v9.5.0.82 25-Feb-2020sha256: 7aab3985aa6390b29ed40fef4c011c269c3f2ced5ac0e2bccff389fe92b69c2f
MinGW-w64 GCC-6.4.0 x86_64-6.4.0-posix-seh C Static Lib

v9.5.0.82 25-Feb-2020sha256: 3d2386d4a69e9fab8c4b21a80840c9313988c055639eba71c45a7d263a0224fb
MinGW-w64 GCC-6.4.0 x86_64-6.4.0-posix-sjlj C Static Lib

v9.5.0.82 25-Feb-2020sha256: 22d0d2d2944956f782eb92a5c95344ef805e1b8fd53109803c0dff586691d698
MinGW-w64 GCC-6.4.0 x86_64-6.4.0-win32-seh C Static Lib

v9.5.0.82 25-Feb-2020sha256: 1318b520d8cdd9b8c44a79751b828ecf4bdc6e1bef09b027df13d0b9504ac353
MinGW-w64 GCC-6.4.0 x86_64-6.4.0-win32-sjlj C Static Lib

v9.5.0.82 25-Feb-2020sha256: cfe6fed70cdcf5202600d02c1f2d046a87b69941b3b5c5f3088e0233b56e8b4c
MinGW-w64 GCC-6.4.0 i686-6.4.0-posix-dwarf C Static Lib

v9.5.0.82 25-Feb-2020sha256: ed7e3842950cffb42b9872d508c4677cdc3cf3be56f7afebe3525c6eb5d09d67
MinGW-w64 GCC-6.4.0 i686-6.4.0-posix-sjlj C Static Lib

v9.5.0.82 25-Feb-2020sha256: 2b14add6e0f93055b5f76ed214862aea40920d707186b8bd8477a64303aeac6d
MinGW-w64 GCC-6.4.0 i686-6.4.0-win32-dwarf C Static Lib

v9.5.0.82 25-Feb-2020sha256: cac47b61e461f752c66f5dac41f32561def990f302d2ab12fcc800c6616e158a
MinGW-w64 GCC-6.4.0 i686-6.4.0-win32-sjlj C Static Lib

v9.5.0.82 25-Feb-2020sha256: 00529a611ae03ca05e28cd60781c0f13c90118cffc6fc979b61973524c3aeb77
MinGW 5.3.0 32-bit C Static Lib

v9.5.0.82 25-Feb-2020sha256: e85e70d1de8bb6646c65701a625be40e9826d103b36e0643ac2acb978346f207
MinGW 4.9.2 32-bit C Static Lib

v9.5.0.82 25-Feb-2020sha256: 2d2e9a6a28ae9d610e2906cb0c387c4e1bdc66a3dbaccaf3651049f08acd8f07
MinGW-w64 GCC-4.9.2 x86_64-sjlj C Static Lib

v9.5.0.82 25-Feb-2020sha256: f6de3282d7a11478c83914ed5a2ec62c64c95c864dc117cadcaab4392880d90c
MinGW-w64 GCC-4.8.1 (rv5) 32-bit C Static Lib

v9.5.0.82 25-Feb-2020sha256: c742311fddf07e6384b3e9b156bb0d2ea981ce0a97fe18715f2b8dabba30c8b4
MinGW-w64 GCC-4.8.1 (rv2) 32-bit C Static Lib

v9.5.0.82 25-Feb-2020sha256: 967a3e268f0d5d20d28dae67be310bc6e958d7995aa26410aacfee7d090bf6d3
MinGW-w64 GCC-4.8.1 x86_64-sjlj C Static Lib

v9.5.0.82 25-Feb-2020sha256: b412942844d6812bf7f84a869c9ca8680b4055e9dd592801590cfabbb6051e57
MinGW-w64 GCC-4.7.2 32-bit C Static Lib

v9.5.0.82 25-Feb-2020sha256: 2c803002963b6bbe8d4e8cddccce2b9cbb753487248a69d0a99a5c79c181aac6
MinGW 4.6.3 32-bit C Static Lib

v9.5.0.82 25-Feb-2020sha256: 4926aaa4627934efdf21cd56e0367c7f848301974e1b704dd6ba93a85627351b
MinGW 4.6.3 64-bit C Static Lib

v9.5.0.82 25-Feb-2020sha256: 28ee7cf9bfaa8aea6696e4c15be4f06b2e48635bba2faa74cc53be8b92290ab6
tdm-4.9.2-64 C Static Lib

v9.5.0.82 25-Feb-2020sha256: 56d712596ecedb9688cde6158b476aaf496d8d2b0c8143ba6920bc683b39b8a4
tdm-4.7.1-64 C Static Lib