Kevin Lowe wrote:
Hi, I'm trying to develop a PHP app that will scan Word and PDF files uploaded
to a web site.
I've installed clamav-0.88.2 with the following commands:
./configure --without-libcurl --with-user=USERNAME --with-group=users
--prefix=/usr/home/USERNAME/bin/clam
where USERNAME is my unix account name on my web server (FreeBSD 4.6-STABLE).
Both freshclam and clanscan work as expected.
In the php-clamav directory, run ./configure --help >config.help (always
a good first step with any new build)
Read in config.help where it says:
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
Pay particular attention to the LDFLAGS part.
dp
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html