Amanda-Users

ld: fatal: library -lreadline: not found

2003-12-22 11:35:49
Subject: ld: fatal: library -lreadline: not found
From: Eugen Leitl <eugen AT leitl DOT org>
To: amanda-users AT amanda DOT org
Date: Mon, 22 Dec 2003 17:33:35 +0100
I'm trying to build amanda-2.4.4p1 on Solaris 7
uname -a:
SunOS u03 5.7 Generic_106541-24 sun4u sparc SUNW,Ultra-250

using gcc version
gcc (GCC) 3.3.2

and get the following build failure:

        
Making all in common-src
make[1]: Entering directory `/Disk2/eleitl/amanda-2.4.4p1/common-src'
/bin/bash ../libtool --mode=link gcc  -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -O2     -o libamanda.la -rpath /usr/local/lib
-release 2.4.4p1 alloc.lo amflock.lo clock.lo debug.lo dgram.lo error.lo
file.lo fileheader.lo amfeatures.lo match.lo protocol.lo regcomp.lo
regerror.lo regexec.lo regfree.lo security.lo statfs.lo stream.lo token.lo
util.lo versuff.lo version.lo pipespawn.lo sl.lo  -lgen -lm -lreadline
-ltermcap -lsocket -lnsl -lintl
rm -fr .libs/libamanda.la .libs/libamanda.* .libs/libamanda-2.4.4p1.*
/usr/ccs/bin/ld -G -h libamanda-2.4.4p1.so -o .libs/libamanda-2.4.4p1.so
alloc.lo amflock.lo clock.lo debug.lo dgram.lo error.lo file.lo fileheader.lo
amfeatures.lo match.lo protocol.lo regcomp.lo regerror.lo regexec.lo
regfree.lo security.lo statfs.lo stream.lo token.lo util.lo versuff.lo
version.lo pipespawn.lo sl.lo  -lgen -lm -lreadline -ltermcap -lsocket -lnsl
-lintl -lc
ld: fatal: library -lreadline: not found
ld: fatal: File processing errors. No output written to
.libs/libamanda-2.4.4p1.so
make[1]: *** [libamanda.la] Error 1
make[1]: Leaving directory `/Disk2/eleitl/amanda-2.4.4p1/common-src'
make: *** [all-recursive] Error 1

libreadline (GNU readline 4.3) is there both in /usr/lib and /usr/local/lib

Any ideas?

-- Eugen* Leitl <a href="http://leitl.org";>leitl</a>
______________________________________________________________
ICBM: 48.07078, 11.61144            http://www.leitl.org
8B29F6BE: 099D 78BA 2FD3 B014 B08A  7779 75B0 2443 8B29 F6BE
http://moleculardevices.org         http://nanomachines.net

Attachment: pgpyJppEQl8EP.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>