[Top][All Lists]

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

Re: Library path with AC_CHECK_LIB

From: Lars Hecking
Subject: Re: Library path with AC_CHECK_LIB
Date: Wed, 11 Jun 2003 16:16:56 +0100
User-agent: Mutt/1.5.4i

address@hidden writes:
> Hi, I'd like to ask about this again, as I'm waiting to release on this 
> problem.
> The problem is that configure[1] is finding[2] libz and adding it to my
> link line[3] but when linking libz is not found.
> libz is in /usr/local/lib, but that is not a compiled in path for ld.
>   %/usr/ccs/bin/ld -V
>   ld: Software Generation Utilities - Solaris/ELF (3.0)
> This is on Solaris 2.6.  
> # Generated by GNU Autoconf 2.57.
> I'm wondering if this is just a single broken machine or if we will have 
> problems on other Solaris machines.
 On Solaris prior to release 8, the proper linker flags must be specified
 to enable the linker to find the correct runtime libraries. Either via
 -R/usr/local/lib, or LD_RUN_PATH=/usr/local/lib in the environment.

 From release 8 on, use crle(1), the Solaris equivalent of ldconfig under

reply via email to

[Prev in Thread] Current Thread [Next in Thread]