Rick,

Thank's for that, it has fixed my install problem. Will you raise the bug report or should I?

FAS

Rick Cooper wrote:
----Original Message----
From: clamav-users-boun...@lists.clamav.net
[mailto:clamav-users-boun...@lists.clamav.net] On Behalf Of Francis Stevens
Sent: Thursday, October 29, 2009 6:43 AM To: ClamAV users ML
Subject: [Clamav-users] Problems installing 0.95.3

I'm trying to install 0.95.3 on a RedHat system currently running 0.95.2
and am getting the following error from "make install"

make[4]: Entering directory `/root/email/clamav-0.95.3/libclamav'
test -z "/usr/local/lib/" || /bin/mkdir -p "/usr/local/lib/"
  /bin/sh ../libtool   --mode=install /usr/bin/install -c
libclamunrar.la libclamunrar_iface.la libclamav.la '/usr/local/lib/'
libtool: install: /usr/bin/install -c .libs/libclamunrar.so.6.0.5
/usr/local/lib/libclamunrar.so.6.0.5
libtool: install: (cd /usr/local/lib && { ln -s -f libclamunrar.so.6.0.5
libclamunrar.so.6 || { rm -f libclamunrar.so.6 && ln -s
libclamunrar.so.6.0.5 libclamunrar.so.6; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libclamunrar.so.6.0.5
libclamunrar.so || { rm -f libclamunrar.so && ln -s
libclamunrar.so.6.0.5 libclamunrar.so; }; })
libtool: install: /usr/bin/install -c .libs/libclamunrar.lai
/usr/local/lib/libclamunrar.la
libtool: install: error: cannot install `libclamunrar_iface.la' to a
directory not ending in /usr/local/lib/
make[4]: *** [install-libLTLIBRARIES] Error 1
make[4]: Leaving directory `/root/email/clamav-0.95.3/libclamav'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/root/email/clamav-0.95.3/libclamav'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/root/email/clamav-0.95.3/libclamav'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/root/email/clamav-0.95.3/libclamav'
make: *** [install-recursive] Error 1

I can't make out why it is failing, after the failure /usr/local/lib
contains:

libclamunrar.la
libclamunrar.so.6.0.5
libclamunrar.so
libclamunrar.so.6

the "make" didn't return any errors and I can reinstall 0.95.2 without
problems (using "make install").

Does anyone have any ideas what the problem might be?


I got around this by adding --libdir=/usr/local/lib to the configure line.
Yes that is the default but it did infact allow the install to complete
correctly. This was not a problem in 0.95.2.

Rick


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to