Eric.
Yep You're right - even though error free compilation - same issue.
Looking into the config logs, pcre is compiled and linked (/usr ) - strange.
I do see some missing libraries also in the log - libraries that somehow
has lpcre as argument so maybe my setup is not the best for this purpose.
/Finn
Den 01-02-2016 kl. 15:43 skrev Solo:
But until I did the yum install pcre I got the errors during ./configure
- it does check the libs I guess ? (many years since compiling was a
daily/weekly occurence)
Well I must do a test tonight - I'm sure You're right - it's been to
easy considered what the issue has caused others when reading the net
/Finn
Den 01-02-2016 kl. 15:08 skrev Eric:
Restart clamd and you'll see the error. With no parameter to --with-pcre
clamav looks for the pcre libs in /usr/local/lib or /usr/lib. They are
in /usr/lib64 and /lib64 on CentOS machines.
On 2/1/2016 6:17 AM, Solo wrote:
Hi Eric.
I have no development server running but I had to make some changes to
my nginx servers the other day (compile with geo-codes to get rid of
Russian attacks) so I did grab latest clamav-0.99 source and I managed
to run
./configure --with-pcre
make (compile it) no problems at all
Catch is though that they are running COS7 and my qmail is COS6 (
2.6.32-573.8.1.el6.x86_64) and based upon Your, Shubes and all the
other great people at the qmailtoaster community's nice packages that
makes life so much easier for us users.
But I did try to install the needed packages on the COS6 production
server (yum install pcre - which gave me updates to the base and the
epel based pcre libraries and prevented the issue You also ran into
regarding libpcre)
I ran ./configure --with-pcre - just fine
then a make - just fine
and a make check that also did well ( 6 tests passed 7 not run).
If time permits tonight I will make some backups and do a make install
on the COS6.
/Finn
Den 31-01-2016 kl. 18:35 skrev Eric:
Finn,
I did a couple things since our last email exchange:
1) yum install *pcre2*
2) ls /usr/lib64 (locate pcre libs)
/usr/lib64/libpcre2-posix.so.0.0.1
/usr/lib64/libpcre2-16.so
/usr/lib64/pkgconfig/libpcre.pc
/usr/lib64/pkgconfig/libpcre2-8.pc
/usr/lib64/pkgconfig/libpcre2-32.pc
/usr/lib64/pkgconfig/libpcre2-posix.pc
/usr/lib64/pkgconfig/libpcre2-16.pc
/usr/lib64/pkgconfig/libpcrecpp.pc
/usr/lib64/libpcre2-32.so.0.3.0
/usr/lib64/libpcre2-32.a
/usr/lib64/libpcreposix.a
/usr/lib64/libpcrecpp.so.0
/usr/lib64/libpcre2-32.so
/usr/lib64/libpcre.so
/usr/lib64/libpcre2-8.so.0.3.0
/usr/lib64/libpcre2-posix.so.0
/usr/lib64/libpcre2-8.a
/usr/lib64/libpcrecpp.so.0.0.0
/usr/lib64/libpcre2-16.a
/usr/lib64/libpcreposix.so
/usr/lib64/libpcrecpp.a
/usr/lib64/libpcre2-16.so.0
/usr/lib64/libpcreposix.so.0
/usr/lib64/libpcre2-16.so.0.3.0
/usr/lib64/libpcre.a
/usr/lib64/libpcre2-8.so
/usr/lib64/libpcre2-8.so.0
/usr/lib64/libpcre2-posix.a
/usr/lib64/libpcreposix.so.0.0.0
/usr/lib64/libpcre2-32.so.0
/usr/lib64/libpcrecpp.so
/usr/lib64/libpcre2-posix.so
/lib64/libpcre.so.0.0.1
/lib64/libpcre.so.0
3) Added --with-pcre=/usr/lib64 to the configure section in clamav.spec
4) Created the source rpm: "rpmbuild -bs --define "dist .qt"
SPECS/clamav.spec"
5) Compiled source rpm: "rpmbuild --rebuild --define "dist .qt.el6"
SRPMS/clamav-0.99-2.qt.src.rpm &>
SRPMS/clamav-0.99-2.qt.x86_64.build.txt &"
During the configure portion of the last step I got the following
error:
<error>
checking for libpcre installation... not found
configure: error: cannot locate libpcre at /usr/lib64
error: Bad exit status from /var/tmp/rpm-tmp.UYRJcn (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.UYRJcn (%build)
</error>
So, the pcre that comes with the CentOS 6 base and pcre2 that comes
with
EPEL does not seem sufficient to complete the creation of the binary.
I'm not sure what's going on.
I'm looking forward to hearing back from Solo.
Eric
On 1/31/2016 10:01 AM, Solo wrote:
Hi Eric.
I've found someone that claims to have fixed the issue and are in
process of writing to that list (BlueOnyx - Michael Stauber) asking
what the fix is - I will get back to You.
/Finn
Den 31-01-2016 kl. 17:38 skrev Eric:
Hi Finn,
I've been working on that...well not of late, within the past
month, but
I have all PCREs libs installed on my server and have enabled PCRE in
the configuration options of clamav.spec (--with-pcre=[DIR]) to no
avail. I've googled the problem and have come up empty. I suspect
that
clamav needs a later version of PCRE, but am not sure. I'll get
back to
working on it and let you know. If anyone in the community knows of a
solution to this please let me know.
This is the error I'm getting on restart of clamd: Starting Clam
AntiVirus Daemon: LibClamAV Warning: cli_loadldb: logical signature
for
Win.Trojan.ssid18332 uses PCREs but support is disabled, skipping
Eric
On 1/31/2016 8:14 AM, Solo wrote:
Hi Eric - all.
This below inserted message has been showing up for a while.
[LibClamAV] cli_loadldb: logical signature for Win.Trojan.ssid18332
uses PCREs but support is disabled, skipping
daily.cld updated (version: 21326, sigs: 1824272, f-level: 63,
builder: neo)
Any chance of getting a clamav compilation including PCRE ?
Thanks,
Finn
---------------------------------------------------------------------
To unsubscribe, e-mail:
qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail:
qmailtoaster-list-h...@qmailtoaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail:
qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail:
qmailtoaster-list-h...@qmailtoaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail:
qmailtoaster-list-h...@qmailtoaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail:
qmailtoaster-list-h...@qmailtoaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com