Question #250996 on samba in Ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/samba/+question/250996
Status: Needs information => Open
Joao S Veiga gave more information on the question:
Hi,
jsveiga@tango:~$ lsb_release -a;uname -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty
Linux tango 3.13.0-30-generic #54-Ubuntu SMP Mon Jun 9 22:45:01 UTC 2014 x86_64
x86_64 x86_64 GNU/Linux
By the way, compiling scannedonly_clamav from the
(http://olivier.sessink.nl/scannedonly/) sources turned out to be not really
straightforward in kubuntu 14.04: Got "undefined reference" for pthread stuff
(missing -pthread in the configure-created Makefile), and now I'm still
struggling with a lot of undefined references to clamav functions:
...
gcc -lclamav -lnsl -pthread -o scannedonlyd_clamav scannedonlyd_clamav.o
scannedonlyd_clamav.o: In function `load_engine':
/root/scannedonly-0.21/src/scannedonlyd_clamav.c:497: undefined reference to
`cl_engine_new'
/root/scannedonly-0.21/src/scannedonlyd_clamav.c:501: undefined reference to
`cl_engine_set_num'
/root/scannedonly-0.21/src/scannedonlyd_clamav.c:502: undefined reference to
`cl_engine_set_num'
/root/scannedonly-0.21/src/scannedonlyd_clamav.c:503: undefined reference to
`cl_retdbdir'
/root/scannedonly-0.21/src/scannedonlyd_clamav.c:503: undefined reference to
`cl_load'
/root/scannedonly-0.21/src/scannedonlyd_clamav.c:508: undefined reference to
`cl_engine_compile'
/root/scannedonly-0.21/src/scannedonlyd_clamav.c:504: undefined reference to
`cl_strerror'
/root/scannedonly-0.21/src/scannedonlyd_clamav.c:510: undefined reference to
`cl_engine_free'
/root/scannedonly-0.21/src/scannedonlyd_clamav.c:509: undefined reference to
`cl_strerror'
...
removing or adding the -lclamav makes no difference (I do have libclamav-dev
installed, and those definitions appear in clamav.h).
So yes, having the scannedonly daemon and utility in a neat binary
package would really be nice to dummies like me...
--
You received this question notification because you are a member of
Ubuntu Server/Client Support Team, which is an answer contact for samba
in Ubuntu.
--
Mailing list: https://launchpad.net/~enterprise-support
Post to : [email protected]
Unsubscribe : https://launchpad.net/~enterprise-support
More help : https://help.launchpad.net/ListHelp