[Varnish] #118: mac os x: Running varnishd results in dyld: lazy symbol binding failed: Symbol not found: _strndup

Varnish varnish-bugs at projects.linpro.no
Tue Jul 24 10:11:18 CEST 2007


#118: mac os x: Running varnishd results in dyld: lazy symbol binding failed:
Symbol not found: _strndup
--------------------+-------------------------------------------------------
 Reporter:  oh      |        Owner:  des     
     Type:  defect  |       Status:  assigned
 Priority:  normal  |    Milestone:          
Component:  build   |      Version:  trunk   
 Severity:  normal  |   Resolution:          
 Keywords:          |  
--------------------+-------------------------------------------------------
Comment (by des):

 This seems to be a bug in libtool, which ignores -export-dynamic.  Run
 autogen.sh and configure, then look for the following line in
 {{{$(top_srcdir)/libtool}}}:

 {{{
 export_dynamic_flag_spec=""
 }}}

 This should be changed to

 {{{
 export_dynamic_flag_spec="-flat_namespace"
 }}}

 Then run {{{make clean; make install}}} and it should work.

 I'm not sure how to fix this properly.

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/118#comment:4>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list