ports/183780: Can't build net-mgmt/flow-tools with OPENSSL and MYSQL

Pavel Timofeev timp87 at gmail.com
Fri Nov 8 10:10:00 UTC 2013


>Number:         183780
>Category:       ports
>Synopsis:       Can't build net-mgmt/flow-tools with OPENSSL and MYSQL
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 08 10:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Pavel Timofeev
>Release:        FreeBSD-10.0 BETA3 amd64
>Organization:
>Environment:
>Description:
Hi!
I tried to compile net-mgmt/flow-tools on FreeBSD-10.0 BETA3 amd64 with following options:

root at bsdtest:/usr/ports/net-mgmt/flow-tools # make showconfig
===> The following configuration options are available for flow-tools-0.68_7:
     MYSQL=on: MySQL database support
     OPENSSL=on: SSL/TLS support via OpenSSL
     PGSQL=off: PostgreSQL database support
===> Use 'make config' to modify these settings


And got error like this:
...
--- flow-receive ---                                                                                                                                                                        [17/1879]
gcc46  -fPIC  -Wl,-rpath=/usr/local/lib/gcc46 -o flow-receive -L../lib flow-receive.o -lft -lwrap -lz -L/usr/lib
--- flow-gen ---
gcc46  -fPIC  -Wl,-rpath=/usr/local/lib/gcc46 -o flow-gen -L../lib flow-gen.o -lft -lwrap -lz -L/usr/lib
--- flow-expire ---
gcc46  -fPIC  -Wl,-rpath=/usr/local/lib/gcc46 -o flow-expire -L../lib flow-expire.o -lft -lwrap -lz -L/usr/lib
--- aclyacc.o ---
source='aclyacc.c' object='aclyacc.o' libtool=no  depfile='.deps/aclyacc.Po' tmpdepfile='.deps/aclyacc.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc46 -I./../lib -L./../lib -I. -I. -I../lib      -fPIC
 -c `test -f 'aclyacc.c' || echo './'`aclyacc.c
--- acllex.o ---
source='acllex.c' object='acllex.o' libtool=no  depfile='.deps/acllex.Po' tmpdepfile='.deps/acllex.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc46 -I./../lib -L./../lib -I. -I. -I../lib      -fPIC -c
`test -f 'acllex.c' || echo './'`acllex.c
--- flow-header ---
gcc46  -fPIC  -Wl,-rpath=/usr/local/lib/gcc46 -o flow-header -L../lib flow-header.o -lft -lwrap -lz -L/usr/lib
--- flow-split ---
gcc46  -fPIC  -Wl,-rpath=/usr/local/lib/gcc46 -o flow-split -L../lib flow-split.o -lft -lwrap -lz -L/usr/lib
--- flow-export ---
gcc46  -fPIC  -Wl,-rpath=/usr/local/lib/gcc46 -o flow-export -L../lib flow_export-flow-export.o -lft -lmysqlclient -lwrap -lz -L/usr/lib
/usr/local/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
*** [flow-export] Error code 1

make[3]: stopped in /usr/ports/net-mgmt/flow-tools/work/flow-tools-0.68/src
..


I'd like you to notice that it builds if MYSQL option was set but OPENSSL didn't.
>How-To-Repeat:
Try to build it with OPENSSL and MYSQL options.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list