Chilkat Software Chilkat Software Chilkat Software
Chilkat Software Chilkat Software

  

  

  

  

  

 

Chilkat C/C++ Libraries for Embedded/ARM Linux

For Raspberry Pi, download the libs for armv6.

For Raspberry Pi 2, download the libs for armv7l.

Download

v9.5.0.67 05-Apr-2017MD5 Sum: 44f7729c55f4668e0a8c95783f324ff8
Chilkat ARMv5 C/C++ Libs for Linux

v9.5.0.67 06-Apr-2017MD5 Sum: 02b1924b80918fd48f2760fd59e7f730
Chilkat ARMv6 (Raspberry Pi) C/C++ Libs for Linux/Raspbian

v9.5.0.67 05-Apr-2017MD5 Sum: 44560e8c36d1c4f038defcb6ed9779db
Chilkat ARMv7l (Raspberry Pi 2) C/C++ Libs for Linux/Raspbian

v9.5.0.67 05-Apr-2017MD5 Sum: 625060efce0920495eccc5a232f0b9fe
Chilkat ARMv7-a SoftFP C/C++ Libs for Linux

v9.5.0.67 05-Apr-2017MD5 Sum: 8287b055403fa89f9295038b6bc83035
Chilkat ARMv7-a HardFP C/C++ Libs for Linux

v9.5.0.67 05-Apr-2017MD5 Sum: c4831fc4fee5401c9d9e7f949db1f643
Chilkat ARMv8-a (FP/LP64) C/C++ Libs for Linux


Install Instructions

Chilkat Reference Documentation

Chilkat Sample Code

Chilkat Blog

Chilkat Release Notes

Install the binary distribution by extracting the files from the compressed archive.
The following example is for the armv7-a SoftFP build:

tar xvfz chilkat-9.5.0-armv7a-softfp-linux.tar.gz

This will create a 'chilkat-9.5.0-armv7a-softfp-linux' sub-directory containing the Chilkat C++ binary distribution.

Linking with the Chilkat Shared Library

The Chilkat shared library is located in the "lib" subdirectory. It is named libchilkat-9.5.0.so. To link with the shared library, use the "-l" option. For example:

gcc -o my_application my_application.o -lchilkat-9.5.0 -lresolv -lpthread

In order to find a shared or static library, the dynamic linker looks in certain directories to find the library. Generally it will look in /usr/lib and /lib. Your system may also be configured to look in other directories (with ldconfig). If you have an environment variable called LD_LIBRARY_PATH it will check the directories listed there first (paths should be separated by colons).

It is also possible to add an additional directory to the library search path with the -L option. If -L is used, then it is not necessary to set LD_LIBRARY_PATH. For example:

gcc -o my_app my_app.o -L/home/joe/chilkat-9.5.0-armv7a-softfp-linux/lib -lchilkat-9.5.0 -lresolv -lpthread

* The "-lresolv" and "-lpthread" are for extra system libraries that will likely be needed. These are for DNS name resolution and POSIX threading. * Note: If both the static library (.a) and shared library (.so) are in the same directory, the linker will select the shared library.

Setting the LD_LIBRARY_PATH search path

You may wish to set the library search path LD_LIBRARY_PATH.

In the following shell commands, the <chilkat-path> denotes the full path to the chilkat-9.5.0-x86_64-linux-gcc directory.

For Bourne Shell, K Shell or Bash, type:

export LD_LIBRARY_PATH=<chilkat-path>/lib:$LD_LIBRARY_PATH

For C Shell, type:

setenv LD_LIBRARY_PATH "<chilkat-path>/lib:$LD_LIBRARY_PATH"


Privacy Statement. Copyright 2000-2017 Chilkat Software, Inc. All rights reserved.

(Regarding the usage of the Android logo) Portions of this page are reproduced from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

Send feedback to support@chilkatsoft.com


Software components and libraries for Linux, MAC OS X, iOS, Android™, Solaris, RHEL/CentOS, FreeBSD, MinGW
Azure, Windows 10, Windows 8, Windows Server 2012, Windows 7, Vista, XP, 2003 Server, 2008 Server, etc.