misc/55387: users LD_LIBRARY_PATH can interfere with mail buildworld
William D. Colburn (aka Schlake)
wcolburn at mailhost.nmt.edu
Fri Aug 8 09:30:19 PDT 2003
>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 at 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:
More information about the freebsd-bugs
mailing list