pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/56495: graphviz fails to build on Solaris 10 (and SmartOS)



>Number:         56495
>Category:       pkg
>Synopsis:       graphviz fails to build on Solaris 10 (and SmartOS)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 12 14:00:00 +0000 2021
>Originator:     Claes Nästén
>Release:        trunk (2021-11-01)
>Organization:
>Environment:
>Description:
Building graphviz on Solaris 10, and SmartOS from the bulk build reports, fails due to unresolved symbols for recv.

gmake[4]: Entering directory '/home/pbulk/build/graphics/graphviz/work/graphviz-2.49.2/cmd/gvpr'
  CC       gvpr-gvprmain.o
  CCLD     gvpr
ld: warning: file ../../lib/cgraph/.libs/libcgraph.so: linked to /home/pbulk/build/graphics/graphviz/work/graphviz-2.49.2/lib/cgraph/.libs/libcgraph.so: attempted multiple inclusion of file
ld: warning: file ../../lib/cdt/.libs/libcdt.so: linked to /home/pbulk/build/graphics/graphviz/work/graphviz-2.49.2/lib/cdt/.libs/libcdt.so: attempted multiple inclusion of file
Undefined			first referenced
 symbol  			    in file
recv                                ../../lib/gvpr/.libs/libgvpr.so
ld: fatal: symbol referencing errors. No output written to .libs/gvpr
collect2: error: ld returned 1 exit status
>How-To-Repeat:
Build graphics/graphviz
>Fix:
Add -lsocket -lnsl to the LDFLAGS:

LDFLAGS.SunOS+=         -lsocket -lnsl


Home | Main Index | Thread Index | Old Index