Oleg, I've compiled zabbix-sender 1.8.15 for the GZ. The following commands are helpful:
crle -64 -u -l /usr/lib/iconv/64 \
-a /opt/local/gcc47/x86_64-sun-solaris2.11/lib/amd64/libgcc_s.so.1 \
-o /usr/sfw/lib/64/libgcc_s.so.1 -c ./ld.config
export LIBS=/opt/local/lib/libiconv.a
export LD_CONFIG=${PWD}/ld.config
Note, however, that using crle is a hack, and prone to break. Using this hack
comes with no warrantees.
For best results, build on the oldest platform you can get your hands on.
Keep an eye out for RFD 42
<https://github.com/joyent/rfd/blob/master/rfd/0042/README.md>, a pkgsrc
package set created explicitly for use in the global zone, which will include
things like this.
--
Brian Bennett
Systems Engineer, Cloud Operations
Joyent, Inc. | www.joyent.com <http://www.joyent.com/>
> On Jun 19, 2016, at 5:16 AM, Oleg Sumarokov <[email protected]> wrote:
>
> Colleagues,
>
> Is there a way to compile zabbix-agent for GZ with --enable-static
>
> Look like only benr was able to compile it in 2012 :) did I miss something?
>
> Thank you in advance,
>
> Yours sincerely,
> Oleg Sumarokov
>
> Privileged - Private & Confidential
> smartos-discuss | Archives
> <https://www.listbox.com/member/archive/184463/=now>
> <https://www.listbox.com/member/archive/rss/184463/26986985-d0246faa> |
> Modify <https://www.listbox.com/member/?&> Your Subscription
> <http://www.listbox.com/>
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
