pkgsrc-Bugs archive

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

pkg/45336: graphics/gqview-devel LDFLAGS on Solaris



>Number:         45336
>Category:       pkg
>Synopsis:       graphics/gqview-devel LDFLAGS on Solaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 07 08:30:00 +0000 2011
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
graphics/gqview-devel on Solaris fails to include libraries for some standard 
functions:

Undefined                       first referenced
 symbol                             in file
cos                                 pan-folder.o  (symbol belongs to implicit 
dependency /usr/lib/libm.so.2)
pow                                 exif.o  (symbol belongs to implicit 
dependency /usr/lib/libm.so.2)
sin                                 pan-folder.o  (symbol belongs to implicit 
dependency /usr/lib/libm.so.2)
bind                                remote.o  (symbol belongs to implicit 
dependency /usr/lib/libsocket.so.1)
ceil                                pan-view.o  (symbol belongs to implicit 
dependency /usr/lib/libm.so.2)
rint                                image.o  (symbol belongs to implicit 
dependency /usr/lib/libm.so.2)
sqrt                                pan-calendar.o  (symbol belongs to implicit 
dependency /usr/lib/libm.so.2)
floor                               dupe.o  (symbol belongs to implicit 
dependency /usr/lib/libm.so.2)
accept                              remote.o  (symbol belongs to implicit 
dependency /usr/lib/libsocket.so.1)
listen                              remote.o  (symbol belongs to implicit 
dependency /usr/lib/libsocket.so.1)
socket                              remote.o  (symbol belongs to implicit 
dependency /usr/lib/libsocket.so.1)
connect                             remote.o  (symbol belongs to implicit 
dependency /usr/lib/libsocket.so.1)

>How-To-Repeat:

>Fix:
Quick fix:

diff -u -r1.1 Makefile
--- Makefile    2011/09/07 07:58:34     1.1
+++ Makefile    2011/09/07 08:12:39
@@ -17,6 +17,8 @@
 
 MAKE_ENV+=             builddir=.
 
+LDFLAGS.SunOS+=-lm -lsocket -lnsl
+
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../graphics/lcms/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"



Home | Main Index | Thread Index | Old Index