From owner-freebsd-questions@freebsd.org Fri Dec 14 04:44:37 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CD78B1314678 for ; Fri, 14 Dec 2018 04:44:37 +0000 (UTC) (envelope-from srs0=ypd7=ox=mail.sermon-archive.info=doug@sermon-archive.info) Received: from mail.sermon-archive.info (sermon-archive.info [71.177.216.148]) by mx1.freebsd.org (Postfix) with ESMTP id 170B88A9BF for ; Fri, 14 Dec 2018 04:44:37 +0000 (UTC) (envelope-from srs0=ypd7=ox=mail.sermon-archive.info=doug@sermon-archive.info) Received: from [10.0.1.251] (mini [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 43GHyW0FyQz2fjRd for ; Thu, 13 Dec 2018 20:44:35 -0800 (PST) From: Doug Hardie Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: FreeBSD 12.0 Date: Thu, 13 Dec 2018 20:44:34 -0800 References: To: freebsd-questions In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3445.102.3) X-Virus-Scanned: clamav-milter 0.100.1 at mail X-Virus-Status: Clean X-Rspamd-Queue-Id: 170B88A9BF X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of srs0=ypd7=ox=mail.sermon-archive.info=doug@sermon-archive.info designates 71.177.216.148 as permitted sender) smtp.mailfrom=srs0=ypd7=ox=mail.sermon-archive.info=doug@sermon-archive.info X-Spamd-Result: default: False [1.77 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_SPAM_SHORT(0.31)[0.306,0]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:71.177.216.148]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_SPAM_MEDIUM(0.89)[0.894,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-0.02)[country: US(-0.09)]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: sermon-archive.info]; RCVD_IN_DNSWL_NONE(0.00)[148.216.177.71.list.dnswl.org : 127.0.10.0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FORGED_SENDER(0.30)[bc979@lafn.org,srs0=ypd7=ox=mail.sermon-archive.info=doug@sermon-archive.info]; RCVD_NO_TLS_LAST(0.10)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:5650, ipnet:71.177.216.0/23, country:US]; FROM_NEQ_ENVFROM(0.00)[bc979@lafn.org,srs0=ypd7=ox=mail.sermon-archive.info=doug@sermon-archive.info]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Dec 2018 04:44:38 -0000 > On 13 December 2018, at 18:21, Doug Hardie wrote: >=20 > Now that it is released, I setup a spare machine and installed it. = The installation went fine. However, all my applications need to be = recompiled and tested. The first problem I encountered was that ld = couldn't find the BIO_ symbols. Apparently they have moved to = libcrypto. I found no notice of that change in UPDATING. Adding = lcrypto to the ld command fixed that. However, none of the programs = run. They all build correctly, but immediately exit with an error: >=20 > ld-elf.so.1: Undefined symbol "sock" referenced from COPY relocation = in /usr/local/RSS/src/check_db >=20 > These programs all compile and run on 11.0 and 11.1. They are in = production on 11.1. >=20 > There is a project shared library (librss) that has an integer "sock" = defined at the top level. It is referenced in check_db. Here is a = reduced version of the code: >=20 Well, I finally figured out what is going on. Someone added a librss... = to FreeBSD base. I use a number of other shared libraries so I guess I = am going to have to test each one to see if it duplicates something new = that has been added. No mention anywhere about the new lib in /usr/src = unfortunately. My guess is that the linker used the "right" one, but = the loader used the one from base which would not have my symbols in it.