libharfbuzz.so.0: undefined symbol

Description

Singularity not start with error:

do-not-directly-run-singularity-bin: symbol lookup error: /usr/lib/libharfbuzz.so.0: undefined symbol: FT_Get_Var_Blend_Coordinates

i partially fixed downfrading harfbuzz to 1.4.6-1 with downgrade Arch tool

Environment

Kernel: x86_64 Linux 4.13.3-1-ARCH
Resolution: 1920x1080
DE: GNOME
WM: GNOME Shell
CPU: Intel Core i7-6700 @ 8x 4GHz [42.0°C]
GPU: GeForce GTX 1060 3GB
RAM: 2963MiB / 16049MiB
Nvidia drivers: 387.12

Activity

Show:
Former user
November 24, 2017, 4:42 AM

I have also seen this issue when installing and attempting to use version: Singularity Viewer (64 bit) 1.8.7 (6966) Nov 18 2017 11:17:33 (Singularity Test).

Running Solux linux here. My system's harfbuzz library is version 1.5.1. After doing some googling, I found a similar issue with the users of the MathLab application. MathLab's workaround included deleting the freetype2 library they shipped with their product and to create links within the MathLab application directories to point to the system installed freetype2 libraries.

Using that workaround in Singularity, I moved the Singu-shipped freetype2 library and links out of the way (into another folder I created within the Singularity installation) and created links to my system's freetype2 (libfreetype.so.6.14.0) library. No more problem with the symbol lookup error.

It seems that harfbuzz and freetype2 are now so interdependent that if an application, such as Singularity, is shipping their own version of one, they also need to ship a matching version of the other as well. Since Singu ships only freetype2, it should also ship a corresponding version of harfbuzz that works with Singu's version. Or, Singu can stop shipping freetype2 in the viewer package and it will just be another dependency that has to be met through system packages.

Assignee

Unassigned

Reporter

fabrixx

Labels

None

Build Number

from 6937

External issue ID

None

Components

Priority

Medium
Configure