Mailing List Archive

Cannot start varnish i am getting error collect2: cannot find 'ld' Running C-compiler failed, exited with 1
#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
_______________________________________________
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
Re: Cannot start varnish i am getting error collect2: cannot find 'ld' Running C-compiler failed, exited with 1 [ In reply to ]
Hi,

I'm a bit puzzled on that one, what versions of gcc and varnish are you
using?

--
Guillaume Quintard

On Mon, Feb 12, 2018 at 12:56 AM, jack Linux <ilinuxer.85@gmail.com> wrote:

> #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
> _______________________________________________
> varnish-misc mailing list
> varnish-misc@varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>