[sane-devel] bug report: ptal configure check
Walter Hofmann
sane-devel-020801192045-4b8e at secretlab.mine.nu
Thu Aug 1 18:54:19 BST 2002
Hi,
I noticed that the configure check for ptal in sane-backends-1.0.7 fails
with the following error:
wh at aragorn:~/tmp/libsane$ gcc -o conftest -g -O2 -W -Wall
-D_GNU_SOURCE -I/usr/local/include -L/usr/local/lib conftest.c -lptal
/usr/lib/libsnmp-0.4.2.so: undefined reference to `EVP_DigestInit'
/usr/lib/libsnmp-0.4.2.so: undefined reference to `EVP_DigestFinal'
/usr/lib/libsnmp-0.4.2.so: undefined reference to `EVP_md5'
/usr/lib/libsnmp-0.4.2.so: undefined reference to `HMAC'
/usr/lib/libsnmp-0.4.2.so: undefined reference to `EVP_sha1'
/usr/lib/libsnmp-0.4.2.so: undefined reference to `des_cbc_encrypt'
/usr/lib/libsnmp-0.4.2.so: undefined reference to `des_key_sched'
/usr/lib/libsnmp-0.4.2.so: undefined reference to `EVP_DigestUpdate'
/usr/lib/libsnmp-0.4.2.so: undefined reference to `RAND_bytes'
/usr/lib/libsnmp-0.4.2.so: undefined reference to `des_ncbc_encrypt'
collect2: ld returned 1 exit status
wh at aragorn:~/tmp/libsane$ gcc -o conftest -g -O2 -W -Wall -D_GNU_SOURCE
-I/usr/local/include -L/usr/local/lib conftest.c -lptal -lcrypto
libptal is /usr/lib/libptal.so.0.1 from the Debian hpoj 0.8-11 package.
As you can see, adding -lcrypto solves the problem.
Walter
NB. I only subscribed to post this bug report and I will unsubscribe in
a second. Please mail me privately if you need anything else.
More information about the sane-devel
mailing list