VMware Cloud Community
OleksiiTimofiei
Contributor
Contributor

Failed to install on Alpine linux

Hello,



I cannot setup BitRock installer in Alpine Docker container.


Error relocating /opt/bitrock/installbuilder-20.1.0-linux-x64-installer.run: isnan: symbol not found
Error relocating /opt/bitrock/installbuilder-20.1.0-linux-x64-installer.run: __register_atfork: symbol not found


It's supposedly caused by Alpine utilizing musl as glibc substitute.


Could you please mention whether work around is possible?



Installing on ArchLinux and copying into Alpine Docker and BitRock crashing everytime I launch it.








`libc6-compat` is installed in Docker image, however, it still doesn't help.


Thanks!



Cheers,


Oleksii


Labels (1)
7 Replies
michiel_dhont
Enthusiast
Enthusiast

Hi,

Unfortunately InstallBuilder does not support Alpine Linux. Could you check the solution (a custom glibc) from the following thread:

https://stackoverflow.com/questions/37818831/is-there-a-best-practice-on-setting-up-glibc-on-docker-...

Regards,

Michiel

0 Kudos
OleksiiTimofiei
Contributor
Contributor

Hi Michiel,

Sadly, the solution you mentioned requires 3rd-party package that conflicts with official `libc6-compat`. This effectively leads to situation when other tools that work fine with `libc6-compat` crash. Stackoverflow basically introduces DLL hell.

For instance,

/opt/qt_5.8.0/bin/licheck64: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
Project ERROR: License check failed! Giving up ...
~/sources/Tools # ldd /opt/qt_5.8.0/bin/licheck64
/lib64/ld-linux-x86-64.so.2 (0x7f0f3fcb4000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x7f0f3fb5f000)
libm.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f0f3fcb4000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x7f0f3fb4b000)
libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f0f3fcb4000)

Is there any intention to fix this issue in BitRock install builder in future? I'm currently out of idea whether my company is going to renew license for BitRock.

Thanks!

Best regards,

Alexey

0 Kudos
AnonymousDefaul
Enthusiast
Enthusiast

Hi Alexey,

We have logged the issue for future evaluation. We currently do not support Alpine linux, because it doesn't use glibc. Making it work depends on how well libc6-compat is able to adapt to the real glibc. Even if we were able to workaround these two missing symbols we can't discard other issues might appear.

Regards,

Michiel

0 Kudos
OleksiiTimofiei
Contributor
Contributor

Hi Michiel,

I understand that adaptation for `libc6-compat` could bring behaviour unstability.

Could you please tell whether this issue will get any priority if it comes from official line of support?

Best regards.

Oleksii

0 Kudos
AnonymousDefaul
Enthusiast
Enthusiast

Hi Oleksii,

The priority of this issue will not be elevated if it's requested via the official channel.

Regards,

Michiel

0 Kudos
timoleksii
Contributor
Contributor

Hi Michiel,

 

Since docker gets more and more recognition among users with `alpinelinux`. Is there any plans to support musl?

0 Kudos
michieldhont_
Hot Shot
Hot Shot

Hi @timoleksii,

It's not on our roadmap to support it for the near future but I've added it as an improvement request.

 

Regards,

Michiel

0 Kudos