Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Aug 2003 10:23:33 -0600 (MDT)
From:      "William D. Colburn (aka Schlake)" <wcolburn@mailhost.nmt.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:    misc/55387: users LD_LIBRARY_PATH can interfere with mail buildworld
Message-ID:  <200308081623.h78GNX0f001376@userhost.nmt.edu>
Resent-Message-ID: <200308081630.h78GUHws084651@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         55387
>Category:       misc
>Synopsis:       users LD_LIBRARY_PATH can interfere with mail buildworld
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 08 09:30:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     William D. Colburn (aka Schlake)
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
New Mexico Institute of Mining and Technology
>Environment:
System: FreeBSD userhost 4.8-STABLE FreeBSD 4.8-STABLE #0: Thu Aug 7 13:02:12 MDT 2003 wcolburn@userhost:/usr/obj/usr/src/sys/USERHOST i386


>Description:

If I have built/installed openldap from /usr/ports/ and my
LD_LIBRARY_PATH has /usr/local/lib in front, then make buildworld will
die on compiling scp because it cannot find certain encyption symbols.
Sadly, I'm reporting this after-the-fact and I didn't save the errors.

My System at the time was as above, but it was 4.6-STABLE, and a GENERIC
kernel.

>How-To-Repeat:

Go to /usr/ports and install openldap22.  Set LD_LIBRARY_PATH to have
/usr/local/lib in front.  Then go to /usr/src and try "make buildworld".
It will fail on scp.

>Fix:

Not having /usr/local/lib in your LD_LIBRARY_PATH is one fix, but I
think that the /usr/src/ build tree shouldn't get confused by things in
/usr/local/lib.  It probably shouldn't be using the users
LD_LIBRARY_PATH at all.

>Release-Note:
>Audit-Trail:
>Unformatted:



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