Graphics crash on MacOs Monterey (M1 pro)

Ok,

I almost backtraced the problem:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/homebrew/lib 

there should be some library that is loaded and is not compatible with the one used to compile… libpng?

Thanks for the help,
Matteo