/libexec/ld-elf.so.1: Undefined symbol "optifd" referenced fromCOPY relocation in /bin/cp when installing sudo port SOLVED

Garrett Cooper youshi10 at u.washington.edu
Mon Jul 30 09:28:06 UTC 2007


Lars Wittebrood wrote:
> Hello list,
>
> This issue is solved. I have compiled the /bin/cp binary from source
> again and installed it. Still don't know what caused this though.
>
> Cheers,
> Lars.
>
> -----Original Message-----
> From: owner-freebsd-ports at freebsd.org
> [mailto:owner-freebsd-ports at freebsd.org] On Behalf Of FreeBSD-Ports
> Posted At: Monday, July 30, 2007 8:37 AM
> Posted To: FreeBSD-Ports
> Conversation: /libexec/ld-elf.so.1: Undefined symbol "optifd" referenced
> fromCOPY relocation in /bin/cp when installing sudo port
> Subject: /libexec/ld-elf.so.1: Undefined symbol "optifd" referenced
> fromCOPY relocation in /bin/cp when installing sudo port
>
>
> Hello list,
>
> Anybody seen the message below and knows what it means? Couldn't find
> anything on Goolge. It's a 6.1-RELEASE-p10 system.
>
> root at server sudo # make
> ===>  WARNING: Vulnerability database out of date, checking anyway ===>
> Found saved configuration for sudo-1.6.9.1 ===>  Extracting for
> sudo-1.6.9.1 => MD5 Checksum OK for sudo-1.6.9p1.tar.gz.
> => SHA256 Checksum OK for sudo-1.6.9p1.tar.gz.
> ===>  Patching for sudo-1.6.9.1
> ===>  Configuring for sudo-1.6.9.1
> /libexec/ld-elf.so.1: Undefined symbol "optifd" referenced from COPY
> relocation in /bin/cp
> *** Error code 1
>
> Stop in /usr/ports/security/sudo.
> *** Error code 1
>
> Stop in /usr/ports/security/sudo.
>
>
> With regards,
> Lars.
>   

    ABI changes if you recompiled some sources (and not others) can 
cause this.
    Always rebuild everything if you changed any important parts (libc, 
compiler versions, dependant libs, etc).
-Garrett


More information about the freebsd-questions mailing list