%general-entities; ]> $LastChangedBy$ $Date$ 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. &lfs82_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 , , , , , , , 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 a build issue with glibc-2.27 and later: sed -e '/WCHAR;/s:^://:' \ -e '/UINT;/ s:^://:' \ -e '/limits.h/a #include <sqltypes.h>' \ -i include/ptlib/unix/ptlib/contain.h 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 && 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; 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