Bug 250981 - sysutils/goaccess linker_error with OpenSSL from ports
Summary: sysutils/goaccess linker_error with OpenSSL from ports
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Sofian Brabez
Depends on:
Reported: 2020-11-09 15:57 UTC by Miroslav Lachman
Modified: 2020-11-09 15:57 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (sbz)

poudriere build log (43.30 KB, text/plain)
2020-11-09 15:57 UTC, Miroslav Lachman
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Lachman 2020-11-09 15:57:32 UTC
Created attachment 219491 [details]
poudriere build log

goaccess cannot be built with OpenSSL from ports:

cc -O2 -DSYSCONFDIR=\"/usr/local/etc\" -Wall  -Wextra -Wnested-externs -Wformat=2  -Wmissing-prototypes -Wstrict-prototypes  -Wmissing-declarations -Wwrite-strings -Wshadow  -Wpointer-arith -Wsign-compare  -Wbad-function-cast -Wcast-align  -Wdeclaration-after-statement -Wshadow  -Wold-style-definition -O2 -pipe  -I/usr/include -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  -pthread -rdynamic -L/usr/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector-strong -o goaccess src/base64.o src/browsers.o  src/color.o src/commons.o src/csv.o  src/error.o src/gdashboard.o  src/gdns.o src/gholder.o src/gkhash.o  src/gmenu.o src/goaccess.o  src/gslist.o src/gstorage.o  src/gwsocket.o src/json.o src/opesys.o  src/options.o src/output.o  src/parser.o src/settings.o src/sha1.o  src/sort.o src/tpl.o src/ui.o  src/util.o src/websocket.o  src/xmalloc.o    -lncursesw -lcrypto -lssl -lpthread
src/websocket.o: In function `ws_start':
websocket.c:(.text+0xf12): undefined reference to `OPENSSL_init_ssl'
websocket.c:(.text+0xf17): undefined reference to `TLS_server_method'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

make[3]: stopped in /wrkdirs/usr/ports/sysutils/goaccess/work/goaccess-1.4
*** Error code 1