Subject: pkg/33802: net/couriertcpd compilation on linux error
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <info@sicurezzarete.com>
List: pkgsrc-bugs
Date: 06/23/2006 10:40:00
>Number:         33802
>Category:       pkg
>Synopsis:       net/couriertcpd compilation on linux error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 23 10:40:00 +0000 2006
>Originator:     Matteo
>Release:        Linux/Voltalinux Kernel 2.4.32
>Organization:
Voltalinux
>Environment:
>Description:
During compilation of vsftpd it stop.
there are installed db4 and gdbm compiled from pkgsrc
The system il Slackware current/Voltalinux

Full message:
...
Compiling spipe.c
Linking libspipe.la
Compiling libcouriertls.c
libcouriertls.c: In function `get_func':
libcouriertls.c:695: warning: passing arg 2 of `d2i_SSL_SESSION' from incompatible pointer type
Compiling tlsinfo.c
Compiling tlscache.c
Linking libcouriertls.la
Compiling argparse.c
Compiling tcpd.c
Compiling tcpdaccess.c
Compiling tcpremoteinfo.c
Linking couriertcpd
/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../i486-slackware-linux/bin/ld: cannot find -ldb
collect2: ld returned 1 exit status
make[1]: *** [couriertcpd] Error 1
make[1]: Leaving directory `/usr/pkgsrc/net/couriertcpd/work/courier-0.53.2/tcpd'
make: *** [all] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/net/couriertcpd
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/net/couriertcpd/work/.work.log
===>
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/couriertcpd
>How-To-Repeat:
Bmake package in /usr/pkgsrc/net/couriertcpd/ in linux environment.
>Fix: