%general-entities; ]> Ptlib-&ptlib-version; Ptlib Introduction to Ptlib The Ptlib (Portable Tools Library) package contains a class library that has its genesis many years ago as PWLib (portable Windows Library), a method to produce applications to run on various platforms. &lfs91_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &ptlib-md5sum; Download size: &ptlib-size; Estimated disk space required: &ptlib-buildsize; Estimated build time: &ptlib-time; Additional Downloads Required patch: Required patch: Ptlib Dependencies Recommended Optional , , , , , (currently broken, see Command Explanations below), , libdc1394, and libraw1394, User Notes: Installation of Ptlib Fix a build issue with gcc-7.1.0 and later: sed -i "s/sbin\.Right(1) == '\\\\0')/strlen(sbin\.Right(1)) == 0)/" \ src/ptclib/podbc.cxx && sed -i '/\/ioctl.h/a#include <sys/uio.h>' src/ptlib/unix/channel.cxx Fix an issue with make-4.3 and later (breaks the build with previous versions of make): sed 's/\\#/#/' -i make/common.mak Install Ptlib by running the following commands: patch -Np1 -i ../ptlib-&ptlib-version;-openssl-1.1.0-1.patch && patch -Np1 -i ../ptlib-&ptlib-version;-bison_fixes-2.patch && ./configure --prefix=/usr \ --disable-odbc && make This package does not come with a test suite. Now, as the root user: make install && chmod -v 755 /usr/lib/libpt.so.&ptlib-version; Command Explanations --disable-odbc: This parameter prevents the use of , whose libraries conflict with ptlib. It is not needed if is not installed. Contents Installed Program Installed Libraries Installed Directories ptlib-config libpt.so and libpt_s.a /usr/include/ptclib, /usr/include/ptlib, /usr/lib/ptlib-&ptlib-version;, and /usr/share/ptlib Short Descriptions ptlib-config determines the compile and linker flags that should be used to compile and link programs that use libpt. ptlib-config libpt.so contains the Ptlib API functions. libpt.so