bc979 at lafn.org
Fri Dec 14 04:44:38 UTC 2018
> On 13 December 2018, at 18:21, Doug Hardie <bc979 at lafn.org> wrote:
> 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:
> ld-elf.so.1: Undefined symbol "sock" referenced from COPY relocation in /usr/local/RSS/src/check_db
> These programs all compile and run on 11.0 and 11.1. They are in production on 11.1.
> 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:
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.
More information about the freebsd-questions