pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/29880
The following reply was made to PR pkg/29880; it has been noted by GNATS.
From: Neil Hoggarth <neil.hoggarth%physiol.ox.ac.uk@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: rquinn%sec.sprint.net@localhost, adam%netbsd.org@localhost
Subject: Re: pkg/29880
Date: Tue, 5 Apr 2005 10:14:13 +0100 (BST)
Some additional information regarding pkg/29880 (pkgsrc/net-snmp fails
to build on Solaris):
I've observecd the same problem on Solaris 9.
Looking at "work/net-snmp-5.2.1/config.log" suggests that the configure
tests for the -lwrap fail because the linker finds libwrap.so but there
are a large number of unresolved symbols referenced in that file. These
symbols all look to be socket API related.
The problem seems to be that tcp_wrappers-7.6.1nb3 has a link-time
dependency on -lsocket in Solaris, but the net-snmp-5.2.1 package
doesn't use that library.
By way of a workaround I added "LDFLAGS.SunOS+= -lsocket" to the
net-snmp-5.2.1 Makefile and I was then able to compile and install the
net-snmp package.
I'm not sure whether that is a "proper" fix, or whether underlying
problem is actually with the way the tcp_wrappers pkg is built / linked
on Solaris, or possibly there is a Solaris specific problem with the
upstream net-snmp-5.2.1 release (the build problem in pkgsrc seems to
have been triggered by the change from v5.1.2 to v5.2.1)?
Regards,
--
Neil Hoggarth Departmental Computing Manager
<neil.hoggarth%physiol.ox.ac.uk@localhost> Laboratory of
Physiology
http://www.physiol.ox.ac.uk/~njh/ University of Oxford, UK
Home |
Main Index |
Thread Index |
Old Index