FreeBSD 10.0-CURRENT/amd64: /usr/bin/ld: cannot find -lisc

O. Hartmann ohartman at zedat.fu-berlin.de
Sun Dec 25 23:53:26 UTC 2011


I just run into this couriosity on the most recent build of FreeBSD
10.0-CURRENT/amd64 (CLANG).

A buildworld fails with the below shown error. No wonder, I issued prior
to this buildworld a "make delete-old-files" and a bunch of files,
libisc.so, libisc.a, and buddies showed up - and got deleted. I did this
now for several times and obviously, after some mystical install, they
appeared again.

>>> Removing old files (only deletes safe to delete libs)
remove /usr/lib/libisc.a? n
remove /usr/lib/libisc.so? n
remove /usr/lib/libisc_p.a? n
nremove /usr/include/isc/assertions.h? n
remove /usr/include/isc/heap.h? n
remove /usr/include/isc/list.h? n

Below the error. What is up? Got my system somehow wrecked?

The same appears on all of our FreeBSD 9.0-PRE/amd64 boxes, clang built,
the issue with "make delete-old-files" is not sticky with FreeBSD 10.

Regards,
Oliver


gzip -cn /usr/src/usr.bin/dig/../../contrib/bind9/bin/dig/dig.1 > dig.1.gz
clang -O2 -fno-strict-aliasing -pipe -O3 -fno-strict-aliasing -pipe
-march=native -DVERSION='"9.8.1-P1"' -DHAVE_CONFIG_H -D_REENTRANT
-D_THREAD_SAFE -DWANT_IPV6 -DOPENSSL -DUSE_MD5
-DNS_LOCALSTATEDIR='"/var"' -DNS_SYSCONFDIR='"/etc/namedb"'
-DNAMED_CONFFILE='"/etc/namedb/named.conf"'
-DRNDC_CONFFILE='"/etc/namedb/rndc.conf"'
-DRNDC_KEYFILE='"/etc/namedb/rndc.key"'
-I/usr/src/usr.bin/dig/../../lib/bind -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DDIG_SIGCHASE
-I/usr/src/usr.bin/dig/../../contrib/bind9/lib/isc/include
-I/usr/src/usr.bin/dig/../../contrib/bind9/lib/isc/unix/include
-I/usr/src/usr.bin/dig/../../contrib/bind9/lib/isc/pthreads/include
-I/usr/src/usr.bin/dig/../dns
-I/usr/src/usr.bin/dig/../../contrib/bind9/lib/dns/include
-I/usr/src/usr.bin/dig/../../contrib/bind9/lib/isccfg/include
-I/usr/src/usr.bin/dig/../isc
-I/usr/src/usr.bin/dig/../../contrib/bind9/bin/dig/include
-I/usr/src/usr.bin/dig/../../contrib/bind9/lib/isc/x86_32/include
-std=gnu99 -fstack-protector -Wsystem-headers -Wno-pointer-sign
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality
-Wno-unused-function -Wno-conversion -Wno-switch-enum -Wno-empty-body
-Wno-parentheses  -o dig dig.o dighost.o -lbind9 -ldns -lisccc -lisccfg
-lisc -llwres -lcrypto -lpthread
clang: warning: argument unused during compilation: '-std=gnu99'
/usr/bin/ld: cannot find -lisc
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
2 errors
*** Error code 2
1 error
*** Error code 2
1 error


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20111225/30df229b/signature.pgp


More information about the freebsd-current mailing list