Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Apr 2019 16:40:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 237165] sysutils/bareos-server: linker error: undefined reference to json
Message-ID:  <bug-237165-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237165

            Bug ID: 237165
           Summary: sysutils/bareos-server: linker error: undefined
                    reference to json
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: acm@FreeBSD.org
          Reporter: ohartmann@walstatt.org
          Assignee: acm@FreeBSD.org
             Flags: maintainer-feedback?(acm@FreeBSD.org)

Recent update of port susutils/bareos-server fails with the error:

[...]
Linking bareos-sd ...
/usr/ports/sysutils/bareos-server/work/bareos-Release-17.2.7/libtool --sile=
nt
--tag=3DCXX --mode=3Dlink /usr/bin/c++  -L/usr/local/lib -L/usr/local/lib=20
-L/usr/local/lib -fstack-protector -L. -L../lib -o bareos-sd append.o askdi=
r.o
authenticate.o dir_cmd.o fd_cmds.o job.o mac.o ndmp_tape.o read.o sd_cmds.o
sd_stats.o socket_server.o status.o stored.o  -L../ndmp -lbareosndmp -lbare=
ossd
-lbareoscfg -lbareos -lm  -lpthread  -lintl      -lwrap=20=20
/usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib  -L/usr/lib -lssl
-lcrypto  -L/usr/local/lib -ljansson
--- bcopy ---
ld: error:
/usr/ports/sysutils/bareos-server/work/bareos-Release-17.2.7/src/stored/.li=
bs/libbareossd.so:
undefined reference to json_delete
ld: error:
/usr/ports/sysutils/bareos-server/work/bareos-Release-17.2.7/src/stored/.li=
bs/libbareossd.so:
undefined reference to json_dumps
ld: error:
/usr/ports/sysutils/bareos-server/work/bareos-Release-17.2.7/src/stored/.li=
bs/libbareossd.so:
undefined reference to json_integer
ld: error:
/usr/ports/sysutils/bareos-server/work/bareos-Release-17.2.7/src/stored/.li=
bs/libbareossd.so:
undefined reference to json_object
ld: error:
/usr/ports/sysutils/bareos-server/work/bareos-Release-17.2.7/src/stored/.li=
bs/libbareossd.so:
undefined reference to json_object_set_new
ld: error:
/usr/ports/sysutils/bareos-server/work/bareos-Release-17.2.7/src/stored/.li=
bs/libbareossd.so:
undefined reference to json_string
c++: error: linker command failed with exit code 1 (use -v to see invocatio=
n)
*** [bcopy] Error code 1

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237165-7788>