Cannot start varnish i am getting error collect2: cannot find 'ld' Running C-compiler failed, exited with 1

jack Linux ilinuxer.85 at gmail.com
Sun Feb 11 23:56:08 UTC 2018


#varnishd -C -f /etc/varnish/default.vcl

Message from C-compiler:
collect2: cannot find 'ld'
Running C-compiler failed, exited with 1

LD command already exist in the server

# whereis ld
ld: /usr/bin/ld /usr/share/man/man1/ld.1.gz

# ld
ld: no input files

I didn't make any custom configuration in /etc/varnish/default.vcl or
/etc/sysconfig/varnish , this is just a new fresh install by yum
install varnish , no error or warring shows up during the
installations

My OS : CentOS release 6.9 (Final) 64bit


More information about the varnish-misc mailing list