tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: libtool dependency issues



On Tue, Aug 21, 2018 at 12:04:40PM -0400, Greg Troxel wrote:
> However, when they use libtool to link, -lgeos gets added to the linker
> command line because /usr/pkg/lib/libgeos_c.la has
> 
>   dependency_libs='/usr/pkg/lib/libgeos.la'

It has always done that as it is required for static linkage and various
other formats. More importantly, it has no chance to know whether or not
the symbols are used and broken modern elf linkers get very picky if you
don't specify all the libraries, even if the correct DT_NEEDED entries
exist.

Joerg


Home | Main Index | Thread Index | Old Index