Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2007 02:28:02 -0700
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        Lars Wittebrood <lars@socruel.nu>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: /libexec/ld-elf.so.1: Undefined symbol "optifd" referenced	fromCOPY relocation in /bin/cp when installing sudo port SOLVED
Message-ID:  <46ADAF22.20802@u.washington.edu>
In-Reply-To: <302F75DC2739FB43B236373398A8C5992A1D@saturnus.intra.socruel.nu>
References:  <302F75DC2739FB43B236373398A8C5992A1D@saturnus.intra.socruel.nu>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org
> [mailto:owner-freebsd-ports@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46ADAF22.20802>