Support #605

Updated by Madars over 3 years ago

Seems like:

- endurox on solaris shall not use lib64 (on amd 64, 11.4), but just /usr/lib 11.4)
- or export PKG_CONFIG_PATH=/usr/lib/pkgconfig shall be specified correspondingly
- Update manuals how to run stuff on Solaris (install compilers)
- why pkconfig includes -lCrun? (/usr/lib64/pkgconfig/atmisrvinteg.pc) seems like not needed.
- having some issues with viewc on Solaris build system, seems like viewc is targeting 32bit platform

<pre>
N:NDRX:5:ad5a7960:29125:00000001:000:20201109:231851265525:rx_compile_c:pile_c.c:0199:build_cmd: [cc -o ./restin_excompiled ndrx_bc_JZlnfV.c -I/export/home/user1/endurox/dist/bin/include -L/export/home/user1/endurox/dist/bin/lib restin_excompiled.c -latmicltbld -latmi -lubf -lnstd -lrt -ldl -lm -lc -lpthread]
ndrx_bc_JZlnfV.c:
restin_excompiled.c:
ld: fatal: file /export/home/user1/endurox/dist/lib64/libatmicltbld.so: wrong ELF class: ELFCLASS64
ld: fatal: file /export/home/user1/endurox/dist/lib64/libatmi.so: wrong ELF class: ELFCLASS64
ld: fatal: file /export/home/user1/endurox/dist/lib64/libubf.so: wrong ELF class: ELFCLASS64
ld: fatal: file /export/home/user1/endurox/dist/lib64/libnstd.so: wrong ELF class: ELFCLASS64

</pre>

Basic steps to get golang working:

<pre>
$ pkg install gcc-7
$ /opt/csw/bin/pkgutil -i -y pkgconfig
$ mv /usr/bin/make /usr/bin/make.old
$ cp /usr/bin/gmake /usr/bin/make
$ pkg install pkg:/developer/golang-17
</pre>

Back