pkgsrc-Bugs archive

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

pkg/50303: undefined symbol in libwrap on OS X 10.11 with Joyent pkgsrc-2015Q2



>Number:         50303
>Category:       pkg
>Synopsis:       undefined symbol in libwrap on OS X 10.11 with Joyent pkgsrc-2015Q2
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 05 08:45:00 +0000 2015
>Originator:     Brian Reiter
>Release:        pkgsrc-2015Q2
>Organization:
WolfeReiter, LLC
>Environment:
Darwin asgard 15.0.0 Darwin Kernel Version 15.0.0: Wed Aug 26 16:57:32 PDT 2015; root:xnu-3247.1.106~1/RELEASE_X86_64 x86_64
>Description:
On a fresh install of pkgsrc on OS X 10.11 "El Capitan" I install stunnel(8). It downloads along with dependencies user-darwin, tcp_wrappers and per-5.22 and installs cleanly.

Attempting to execute stunnel after installation causes a dyld error to be printed to the terminal and the process exits. The dyld error is that a symbol "_allow_severity" is not found in libwrap.7.dylib.

This seems very similar to another issue that I found #3522 which has the same error with OpenSSH compiled with TCPWrappers support.
>How-To-Repeat:
$ sudo pkgin -y update
Database needs to be updated.
reading local summary...
processing local summary...
updating database: 100%
pkg_summary.bz2                     100% 1779KB 889.6KB/s   1.0MB/s   00:02    
processing remote summary (http://pkgsrc.joyent.com/packages/Darwin/2015Q2/x86_64/All)...
updating database: 100%
$ sudo pkgin install stunnel
calculating dependencies... done.

nothing to upgrade.
4 packages to be installed (15M to download, 56M to install):

user-darwin-20130712 tcp_wrappers-7.6.4 perl-5.22.0 stunnel-5.17nb1

proceed ? [Y/n] 
downloading packages...
user-darwin-20130712.tgz            100% 4008     3.9KB/s   3.9KB/s   00:00    
tcp_wrappers-7.6.4.tgz              100%   83KB  82.6KB/s  13.6KB/s   00:01    
perl-5.22.0.tgz                     100%   15MB 804.4KB/s 812.8KB/s   00:19    
stunnel-5.17nb1.tgz                 100%  178KB 178.0KB/s  61.0KB/s   00:01    
installing packages...
installing user-darwin-20130712...
installing tcp_wrappers-7.6.4...
installing perl-5.22.0...
installing stunnel-5.17nb1...
stunnel-5.17nb1: copying /opt/pkg/share/examples/stunnel/stunnel.conf-sample to /opt/pkg/etc/stunnel/stunnel.conf
===========================================================================
The following files should be created for stunnel-5.17nb1:

	/etc/rc.d/stunnel (m=0755)
	    [/opt/pkg/share/examples/rc.d/stunnel]

===========================================================================
===========================================================================
$NetBSD: MESSAGE,v 1.1 2008/05/27 11:51:32 tnn Exp $

If you are updating from an stunnel version earlier than 4.24, you should
be aware that the binaries have moved from /opt/pkg/sbin
to /opt/pkg/bin .
===========================================================================
pkg_install warnings: 0, errors: 0
reading local summary...
processing local summary...
updating database: 100%
marking stunnel-5.17nb1 as non auto-removable
$ stunnel --version
dyld: Symbol not found: _allow_severity
  Referenced from: /opt/pkg/lib/libwrap.7.dylib
  Expected in: flat namespace
 in /opt/pkg/lib/libwrap.7.dylib
Trace/BPT trap: 5
>Fix:


Home | Main Index | Thread Index | Old Index