[Varnish] #117: Mac OS X: Running varnishd results in Assert error in mgt_CallCc(), mgt_vcc.c line 222
Varnish
varnish-bugs at projects.linpro.no
Thu Jun 14 11:18:24 CEST 2007
#117: Mac OS X: Running varnishd results in Assert error in mgt_CallCc(),
mgt_vcc.c line 222
----------------------+-----------------------------------------------------
Reporter: oh | Owner: phk
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: 1.0.4
Severity: normal | Keywords: mac os x
----------------------+-----------------------------------------------------
After compiling 1.0.4 on mac os x 10.4.9, running varnishd resulted in the
following error:
{{{
$ /usr/local/sbin/varnishd -a localhost:8080 -b localhost:80
(null)Assert error in mgt_CallCc(), mgt_vcc.c line 222:
Condition((dlclose(p)) == 0) not true.
errno = 2 (No such file or directory)
}}}
In mgt_CallCc() varnish run:
{{{
ln -f /tmp/vcl.BvA7YyCF /tmp/_.c ;exec cc -fpic -shared -Wl,-x -o
/tmp/vcl.qAK8zcTi -x c - < /tmp/vcl.BvA7YyCF 2>&1
}}}
Which results in the following error message:
{{{
i686-apple-darwin8-gcc-4.0.1: unrecognized option '-shared'
:1: warning: -fpic is not supported; -fPIC assumed
/usr/bin/ld: Undefined symbols:
_main
_VRT_GetHdr
_VRT_alloc_backends
_VRT_count
_VRT_error
_VRT_fini_backend
_VRT_free_backends
_VRT_handling
_VRT_l_backend_host
_VRT_l_backend_port
_VRT_r_obj_cacheable
_VRT_r_obj_valid
_VRT_r_req_request
_VRT_set_backend_name
collect2: ld returned 1 exit status
}}}
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/117>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list