Author Topic: [SOLVED]Substance Designer 2019.1.0 does not work with CentOS 7.4  (Read 3249 times)

I've been trying to run the new Substance Designer 2019.1.0 on linux this morning and keep hitting a pesky problem:

Quote
symbol lookup error: /softwareLocal/substancedesigner/linux/2019.1.0/plugins/platforms/../../libQt5XcbQpa.so.5: undefined symbol: FT_Get_Font_Format

I was finally able to get it to work when switching to a workstation using CentOS 7.6 instead of the 7.4 I'm currently using.
Unfortunately my artists are all on CentOS 7.4 and we're not ready just yet to update them.

I believe it's due to the update of QT in the latest version of substance designer but I was wondering if it was something some of you folks may have encountered? Is this a known issue? An intended change?

Here's the ldd on the library that returns an error:
Quote
-$ ldd /softwareLocal/substancedesigner/linux/2019.1.0/plugins/platforms/../../libQt5XcbQpa.so.5
   linux-vdso.so.1 =>  (0x00007ffcd3957000)
   libGL.so.1 => /usr/lib64/nvidia/libGL.so.1 (0x00007ff2ac3ef000)
   libfontconfig.so.1 => /lib64/libfontconfig.so.1 (0x00007ff2ac1b1000)
   libfreetype.so.6 => /lib64/libfreetype.so.6 (0x00007ff2abf0b000)
   libz.so.1 => /lib64/libz.so.1 (0x00007ff2abcf5000)
   libQt5Gui.so.5 => /softwareLocal/substancedesigner/linux/2019.1.0/plugins/platforms/../.././libQt5Gui.so.5 (0x00007ff2ab65c000)
   libQt5Core.so.5 => /softwareLocal/substancedesigner/linux/2019.1.0/plugins/platforms/../.././libQt5Core.so.5 (0x00007ff2ab041000)
   libpthread.so.0 => /lib64/libpthread.so.0 (0x00007ff2aae25000)
   libX11-xcb.so.1 => /lib64/libX11-xcb.so.1 (0x00007ff2aac22000)
   libxcb.so.1 => /lib64/libxcb.so.1 (0x00007ff2aa9fa000)
   libXrender.so.1 => /lib64/libXrender.so.1 (0x00007ff2aa7ef000)
   libXext.so.6 => /lib64/libXext.so.6 (0x00007ff2aa5dc000)
   libX11.so.6 => /lib64/libX11.so.6 (0x00007ff2aa29e000)
   libm.so.6 => /lib64/libm.so.6 (0x00007ff2a9f9c000)
   libxkbcommon-x11.so.0 => /lib64/libxkbcommon-x11.so.0 (0x00007ff2a9d93000)
   libxkbcommon.so.0 => /lib64/libxkbcommon.so.0 (0x00007ff2a9b53000)
   libdl.so.2 => /lib64/libdl.so.2 (0x00007ff2a994f000)
   libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007ff2a9646000)
   libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007ff2a9430000)
   libc.so.6 => /lib64/libc.so.6 (0x00007ff2a906d000)
   libGLX.so.0 => /usr/lib64/nvidia/libGLX.so.0 (0x00007ff2a8e3c000)
   libGLdispatch.so.0 => /usr/lib64/nvidia/libGLdispatch.so.0 (0x00007ff2a8b6e000)
   libexpat.so.1 => /lib64/libexpat.so.1 (0x00007ff2a8944000)
   /lib64/ld-linux-x86-64.so.2 (0x00005612255b6000)
   libXau.so.6 => /lib64/libXau.so.6 (0x00007ff2a873f000)
   libxcb-xkb.so.1 => /usr/lib64/libxcb-xkb.so.1 (0x00007ff2a8523000)
Last Edit: June 06, 2019, 12:16:04 pm

Hey sorry about this: were you able to send a bug report?

I havent yet, was hoping maybe I'd get some tips but I will now! thanks!

no problem (we'll be able to get more info about what's going on ;-))

Hey there,

We are aware of the issue, it comes from the fact that our CentOS builders are up to date and that there is apparently no backward compatibility between point releases of CentOS. We are actively working on finding a solution to the problem!

Thanks for the quick reply, will be patiently waiting news from you folks!

Until we devise an appropriate solution, you can try the following workarounds:
 - update the freetype package. It should not trigger any other updates and the compatibility issue should be fixed afterwards
 - if you don't want to update any package, you can put the .so of the updated freetype library (v2.8) next to the Substance Designer executable. You can get it from the latest rpm here: https://centos.pkgs.org/7/centos-x86_64/freetype-2.8-12.el7.x86_64.rpm.html

Not sure if this is related, but Designer 2019.1.1 fails to install with:

sudo rpm -Uvh Substance_Designer-2019.1.1-2320-linux-x64-standard-full.rpm
error: Failed dependencies:
        libxkbcommon >= 0.5 is needed by Substance_Designer-2019.1.1-1.el7.standard.full.x86_64
        libxkbcommon-x11 >= 0.5 is needed by Substance_Designer-2019.1.1-1.el7.standard.full.x86_64

2019.1.0 installs and works fine.

OpenSuse 15.0 (yes, I know, not Centos)

I notice that 2019.1.0 only links against libxcb.so.1

Cheers,

Peter B

Hi,

First, try to install libxkbcommon and libxkbcommon-x11.
Then try install Designer.

If it doesn't work and since you were able to launch Designer 2019.1.0, try to install Designer 2019.1.1 using --nodeps.

Thanks !
QA Analyst

Hi Celine,

Thanks for the quick reply. It was late and I did not add nearly enough info to my post, apologies for that.

I do have libkxbcommon and -x11 installed.
I installed with --nodeps, and it installed. However when launching Designer immediately segfaults.

I was not able to check the version(s) installed of libkxbcommon however which might be a distro issue. Worst case I can try to extract those libs from Centos 7.6 and hack them into the Designer libs, but I worry about other dependencies then starting to creep in.

Cheers,

Peter B

Hi pbowmar,

One thing that changed between 2019.1.0 and 2019.1.1 is that we now bundle the freetype library alongside Substance Designer (see https://forum.substance3d.com/index.php/topic,29285.0.html). Maybe this is the cause of your issue, could you try removing it so that the freetype of your system gets used instead of the one we ship?

Cheers,

Luc Touraille

Nice one Luc, that makes it work nicely!

Merci beaucoup!

Cheers,

Peter B