[MacPorts] #15453: cgilib user strndup wich is not available (was: cglib user strndup wich is not available)

MacPorts noreply at macports.org
Wed Nov 12 18:10:10 PST 2008


#15453: cgilib 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:  Port Bugs                            
 Component:  ports                |     Version:  1.6.0                                
Resolution:                       |    Keywords:                                       
      Port:  cgilib               |  
----------------------------------+-----------------------------------------
Changes (by jmr at macports.org):

  * keywords:  cgilib =>
  * port:  => cgilib
  * milestone:  => Port Bugs


Old description:

> 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
> >&5
> Undefined symbols:
>   "_strndup", referenced from:
>       _cgiReadMultipart in libcgi.a(cgi.o)
>       _cgiReadMultipart in libcgi.a(cgi.o)
> ld: symbol(s) not found

New description:

 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
 >&5
 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#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list