Bug 279779

Summary: issue with security/sudo command on FreeBSD 15
Product: Ports & Packages Reporter: Gordon Zhang <jp20171211>
Component: Individual Port(s)Assignee: Renato Botelho <garga>
Status: Closed Not A Bug    
Severity: Affects Many People CC: garga, jp20171211, kevans
Priority: --- Flags: linimon: maintainer-feedback? (garga)
Version: Latest   
Hardware: amd64   
OS: Any   

Description Gordon Zhang 2024-06-16 06:10:02 UTC
Hi,
I'm working on my server with FreeBSD 15.0-current installed. Everything is fine after installation. However, after I upgrade it  by "pkg upgrade ", the "sudo" command didn't not work. Here is the output:
ld-elf.so.1: /usr/local/bin/sudo: Undefined symbol "__memcpy_chk@FBSD_1.8"
 Is that a bug? If not, how can I fix it?
Comment 1 Kyle Evans freebsd_committer freebsd_triage 2024-06-18 13:39:09 UTC
(In reply to Gordon Zhang from comment #0)

You have to upgrade the base system before you can upgrade packages, or else you will run into breakage like this. See the notes at the bottom of UPDATING
Comment 2 Kyle Evans freebsd_committer freebsd_triage 2024-06-18 14:43:49 UTC
Closing this because it's caused by missing steps in the upgrade process, but feel free to  comment if you need further clarification.