[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hylafax
Subject:    Re: Hylafax compile problem.
From:       "Scott J. Kramer" <sjk () cisco ! com>
Date:       1996-07-31 17:03:19
[Download RAW message or body]

On Jul 31,  9:13, Sam Leffler wrote:
> Subject: Re: Hylafax compile problem.
>     To:  flexfax@sgi.engr.sgi.com
>     Subject:  Hylafax compile problem.
>     Date: Wed, 31 Jul 1996 10:08:27 +0200
>     From:  "Morten K. Barfoed" <morten@sas3.dsri.dk>
> 
>     Dear hylafaxers.
>     
>     I have a problem compiling hylafax v. 4.0 beta015.
>     
>     But, when i run the configure script, I get the following
>     message:
>     
>     * Checking for TIFF support
>     * ld.so.1: ./a.out: fatal: libtiff.so: can't open file: errno=2

> /usr/local/lib is not being searched when DSO's are loaded.  Either
> create a symbolic link to /usr/local/lib/libtiff.so in a publicly
> searched directory or force the executable to search /usr/local/lib
> for the DSO--or link against a static version of the TIFF library.

You might try configuring HylaFAX with a command like:

    % env LD_LIBRARY_PATH=/usr/local/lib ./configure --verbose

I use /opt/local/lib instead of /usr/local/lib on my system and define these
(and other) variables in config.local:

  LIBTIFF="-L/opt/local/lib -ltiff -ljpeg -lz"   # linkage convention for libtiff
  TIFFINC="/opt/local/include"            # place to find tiffio.h
  TIFFBIN="/opt/local/bin"                # where TIFF tools live

Note that during the running of `configure' is the only context I set
LD_LIBRARY_PATH for the sole purpose of "tricking" the script into
passing the TIFF support test.

Good luck,

-sjk

-- 
Scott J. Kramer					Cisco Systems, Inc.
UNIX Systems Administrator			Advanced Customer Systems
<sjk@cisco.com>					170 W. Tasman Drive
+1.408.526.8738					San Jose, CA  95134-1706

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic