Liferay 7.0.2-1-linux-x64 failed to install

OS =“openSUSE Leap 42.1 (x86_64)”
openjdk version “1.8.0_101”

Hi. Try to install Liferay but failed with below error message: (double click or execute the installer)

Error: There has been an error.
Error running /sbin/ldconfig -p | grep libstdc | awk ‘{print $4}’ | xargs grep
-aoP ‘GLIBCXX_([0-9]+).([0-9]+).([0-9]+)’ | tail -n 1 | grep -oP
‘([0-9]+).([0-9]+).([0-9]+)’: grep: invalid UTF-8 byte sequence in input

Is it related to the JDK I used? or is not supported in openSuse Leap?

Hello @hazri,

It seems there are several regressions in the grep utility that raise the bug you are facing:

The openSUSE distribution you are using could ship a build of grep that contains the bug. If you run sudo zypper update grep the problem should be fixed and you could run the installer.

We have already working in a fix to the problem without the need of upgrading grep. We have plans to release it in the next few days.

Thanks for reporting,

1 Like

Hi @jose,
Thanks for your reply. Sorry just managed to reply today.

Btw, I’d follow your guide to update the grep in our Suse, but upgrading the grep seem not resolved this issue.
I’ve also try to install the latest Wildfly just now, it throwing the same error message.

Im thinking to install Bitnami Wildfly in Centos7 server then copy all to Suse, but not sure this is good idea or not.
Thank you in advanced.

Hi @jose
Do you mean as per this FAQ page?

Since my Suse libstdc is 3.4.21, i think it safe to proceed without the libstdc validation then.


Yes, if you have checked that the version of libstdc you have installed is greater than 3.4.9 you can execute the installer with the --disable_glibcxx_version_check 1 to skip the failing grep checking.