[MacPorts] #15453: cglib user strndup wich is not available

MacPorts noreply at macports.org
Thu May 29 07:55:32 PDT 2008

#15453: cglib user strndup wich is not available
 Reporter:  marcelo at bezerra.org  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  ports                |     Version:  1.6.0                                
 Keywords:  cgilib               |  
 Cgilib is using strndup internally, wich is not available in macosx.

 This make  cgilib detection with AC_CHECK_LIB impossible.

 configure:6931: result: no
 configure:6943: checking for cgiHeader in -lcgi
 configure:6978: gcc -o conftest -g -O2  -L/opt/local/lib conftest.c -lcgi
 Undefined symbols:
   "_strndup", referenced from:
       _cgiReadMultipart in libcgi.a(cgi.o)
       _cgiReadMultipart in libcgi.a(cgi.o)
 ld: symbol(s) not found

Ticket URL: <http://trac.macports.org/ticket/15453>
MacPorts <http://www.macports.org/>
Ports system for Mac OS

More information about the macports-tickets mailing list