[Bug 267758] textproc/link-grammar: Undefined symbol call_once is undefined

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 14 Nov 2022 10:54:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267758

            Bug ID: 267758
           Summary: textproc/link-grammar:  Undefined symbol call_once is
                    undefined
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome@FreeBSD.org
          Reporter: djireland79@gmail.com
             Flags: maintainer-feedback?(gnome@FreeBSD.org)
          Assignee: gnome@FreeBSD.org

call_once is undefined when the Link-Parser tries to exit causing it to crash. 

Example console:


link-grammar: Error: Could not open dictionary "C.UTF/4.0.dict"
link-grammar: Info: Dictionary found at ./data/en/4.0.dict
link-grammar: Info: Dictionary version 5.11.0, locale en_US.UTF-8
link-grammar: Info: Library version link-grammar-5.11.0. Enter "!help" for
help.
linkparser> hello world
ld-elf.so.1: /root/link-grammar-5.11.0/link-grammar/.libs/liblink-grammar.so.5:
Undefined symbol "call_once"


I suspect the C11 Threads Library should be linked in to provide "call_once"

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