Linux - problem with recent harfbuzz library

Description

startup crashes with this message

symbol lookup error: /usr/lib/libharfbuzz.so.0: undefined symbol: FT_Get_Var_Blend_Coordinates

please note: i686 version 1.8.6.6157 with libharfbuzz32 vers 1.4.6-1 works fine

Environment

Manjaro Linux 17.0.5
libharfbuzz 1.5.1-1

Activity

Show:
Tejo Verbist
October 23, 2017, 1:11 PM

i can second this, i am having exactely the same issue !

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

Any suggestion in solving this already ?

Thx in advance you guys !

Former user
November 24, 2017, 4:50 AM
Edited

Seems there are multiple reports of harfbuzz symbol lookup errors. It is actually a problem with the freetype2 library that ships within the Singularity viewer package. It is becoming too old for system-based harfbuzz packages in modern linux systems.

In the report there are a couple of workarounds posted. The first is from the OP of that report who is using Arch linux. Their workaround is to downgrade their system harfbuzz library. The second workaround is from my system, a Solux linux box. That one entails removing/moving aside the viewer's libfreetype.so.x library and links and creating new links to my system's libfreetype library.

Either workaround will work. It just depends upon which is easier for a user to do based upon their own experience.

edited to correct the reference link to

flauta
November 25, 2017, 9:21 AM

Just tried the second workaround: removing libfreetype & symlinks from singularity /lib64 folder; then creating there new symlinks to real system libfreetype (6.15.0 in my case). Now Singularity works.

Assignee

Unassigned

Reporter

flauta

Labels

Build Number

6866 and 6937

External issue ID

None

Components

Priority

Blocker
Configure