emissary-ingress / emissary

open source Kubernetes-native API gateway for microservices built on the Envoy Proxy

Home Page:https://www.getambassador.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ambassador filter plugin not working | Error loading shared library libresolv.so.2 in Go 1.20

MageshSrinivasulu opened this issue · comments

We are building an ambassador filter plugin using GO https://www.getambassador.io/docs/edge-stack/latest/topics/using/filters/plugin and calling that within the ambassador pod.

Seems it is failing from GO 1.20 with the error Error loading shared library libresolv.so.2 previously it used to work with GO 1.19

How to overcome this issue? More details are available here golang/go#59305

It looks like users are getting around this by implementing their own symbolic link for libresolv.so.2. One of the disadvantages of a plug-in filter is the need to maintain all the relevant dependencies. Does that look like something you could try?

@cindymullins-dw I tried that but it is not working