On Tue, Jul 08, 2014 at 12:17:36PM +0000, Viktor Dukhovni wrote:

> On Tue, Jul 08, 2014 at 02:04:12PM +0200, Ralf Hildebrandt wrote:
> 
> > Running, though, is another issue:
> 
> No idea what gentoo is up to, however try the following patch,
> perhaps the shared object dependencies need to be explicit.
> To test "make ... makefiles; make; make upgrade".
> 
> ... various Makefiles ...
> -     $(SHLIB_LD) -o $(LIB) $(OBJS)
> +     $(SHLIB_LD) -o $(LIB) $(OBJS) $(SYSLIBS)
> ...

In my test on Ralf's system the above fixes the problem.  Not
surprising, since with versioned symbols the shared objects need
to record the right symbol names at link time.

Shared objects generally need to record their dependencies explicitly,
rather than attempt to inherit them from the program they are linked
with.

Wietse wanted to avoid $(SYSLIBS) when linking the shared libraries,
and removed them from SHLIB_LD line, but they are indeed not optional
in many cases.

-- 
        Viktor.

Reply via email to