Date: Thu, 13 Dec 2018 20:44:34 -0800 From: Doug Hardie <bc979@lafn.org> To: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: FreeBSD 12.0 Message-ID: <DD51BCB6-617D-4CEE-A442-DF724240EBD8@mail.sermon-archive.info> In-Reply-To: <B01389BA-853A-4F77-BC52-595A386B2522@mail.sermon-archive.info> References: <B01389BA-853A-4F77-BC52-595A386B2522@mail.sermon-archive.info>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 13 December 2018, at 18:21, Doug Hardie <bc979@lafn.org> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DD51BCB6-617D-4CEE-A442-DF724240EBD8>