[Bug 191611] databases/evolution-data-server fails to link when rebuilding because requisite library (sqlite, Berkeley DB) changed and its /usr/local has become unusable

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jul 16 11:33:44 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191611

Tijl Coosemans <tijl at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #144423|0                           |1
        is obsolete|                            |

--- Comment #15 from Tijl Coosemans <tijl at FreeBSD.org> ---
Created attachment 144725
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=144725&action=edit
proposed patch

The problem is that when you link an executable with libA, while libA depends
on libB, ld(1) will also check libB for unresolved symbols, but it searches for
libB in paths provided by -rpath-link, -rpath and -L flags first before asking
libA where it thinks it can find libB.  I consider this a bug in ld(1).  It
should check the libA runpath first, but frankly it should not check indirect
dependencies at all.  The attached patch adds -Wl,--allow-shlib-undefined to
LDFLAGS so ld(1) stops complaining.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-gnome mailing list