InTime

How to fix “libQt5XcbQpa.so.5: undefined symbol: FT_Get_Font_Format” when starting InTime?

1411 views July 29, 2020 June 4, 2021 pohheng 0

Symptom:

When starting InTime, you encounter an error message containing:

“intime: symbol lookup error: bin7/libQt5XcbQpa.so.5: undefined symbol: FT_Get_Font_Format.”

or similar.

This is due to the fact that the libfreetype version in the system is lower than 2.6, and usually happens for Centos 7.x and above.

Resolution:

Upgrade the system freetype library.

[user@host ~]# yum install freetype
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ossm.utm.my
 * extras: mirror.titansi.com.my
 * updates: centos.exabytes.com.my
Resolving Dependencies
--> Running transaction check
---> Package freetype.x86_64 0:2.4.11-15.el7 will be updated
---> Package freetype.x86_64 0:2.8-14.el7 will be an update
--> Processing Dependency: libpng15.so.15(PNG15_0)(64bit) for package: freetype-2.8-14.el7.x86_64
--> Processing Dependency: libpng15.so.15()(64bit) for package: freetype-2.8-14.el7.x86_64
--> Running transaction check
---> Package libpng.x86_64 2:1.5.13-7.el7_2 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==================================================================================================================================
 Package                       Arch                        Version                                Repository                 Size
==================================================================================================================================
Updating:
 freetype                      x86_64                      2.8-14.el7                             base                      380 k
Installing for dependencies:
 libpng                        x86_64                      2:1.5.13-7.el7_2                       base                      213 k
Transaction Summary
==================================================================================================================================
Install             ( 1 Dependent package)
Upgrade  1 Package
Total download size: 592 k
Is this ok [y/d/N]: 

Alternatively, download libfreetype.so.6 from https://github.com/plunify/libfreetype and save it in the bin7/ or bin/ folder in the <InTime installation directory>/.

[user@host ~]$ cd <InTime installation directory/bin7/
[user@host ~]$ ls -ls
1560 -rwxr-xr-x  1 user  admin   777K Jul 20 09:03 libfreetype.so.6

Applies to:

  • Linux Operating System (CentOS/RHEL 7)

Knowledge Base ID: 202007291 - Last Review: July 27, 2020 - Revision: 1.0