Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2019 19:51:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 236810] graphics/tesseract: ld: error: ./.libs/libtesseract.so: undefined reference to pthread_create
Message-ID:  <bug-236810-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 236810
           Summary: graphics/tesseract: ld: error:
                    ./.libs/libtesseract.so: undefined reference to
                    pthread_create
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: ohartmann@walstatt.org
                CC: pkubaj@anongoth.pl
                CC: pkubaj@anongoth.pl
             Flags: maintainer-feedback?(pkubaj@anongoth.pl)

On recent CURRENT (FreeBSD 13.0-CURRENT #310 r345521: Tue Mar 26 06:41:22 C=
ET
2019 amd64) and in poudriere, running CURRENT jail (Makefile ident:=20=20=
=20=20=20
$FreeBSD: head/graphics/tesseract/Makefile 487272 2018-12-12 01:35:06Z gera=
ld $
Poudriere version: 3.3.2
Host OSVERSION: 1300017
Jail OSVERSION: 1300017)

building/installing of port graphics/tesseract fails du to a linker error:

[...]
--- tesseract ---
/bin/sh ../libtool  --tag=3DCXX    --mode=3Dlink c++   -O2 -pipe -fstack-pr=
otector
-isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/inclu=
de=20
-std=3Dc++11  -fstack-protector -o tesseract tesseract-tesseractmain.o
libtesseract.la -L/usr/local/lib -llept    -lrt -L/usr/local/lib
libtool: link: c++ -O2 -pipe -fstack-protector -isystem /usr/local/include
-fno-strict-aliasing -isystem /usr/local/include -std=3Dc++11 -fstack-prote=
ctor
-o .libs/tesseract tesseract-tesseractmain.o  ./.libs/libtesseract.so
-L/usr/local/lib -lrt -llept -Wl,-rpath -Wl,/usr/local/lib
ld: error: ./.libs/libtesseract.so: undefined reference to pthread_create
c++: error: linker command failed with exit code 1 (use -v to see invocatio=
n)
*** [tesseract] 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-236810-7788>