<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>I just rebuilt cups (1.5.0) on a ubuntu 11.04 (running cups 1.4.6).</div><div><br></div><div>I wanted to run lpstat by hand after I built (I've been getting "inconsistent"</div><div>results running zeroconf).</div><div><br></div><div>But I found:</div>: leisner@asus 12:28:50;./lpstat -a<br>./lpstat: symbol lookup error: ./lpstat: undefined symbol: _cups_strcasecmp<br><br>I saw we build libcups.so.2, and I have libcups.so.2 -- but<br><br>_cups_strcasecmp seems to be conditionally compiled before, but is mandatory now.<br><br>Seems it may be a good idea to bump the version number of the libcups.so to 3?<br><br>So I tried to do:<br><br>configure --enable-static --disable-shared<br><br>and ended up with<br><br>: leisner@asus 12:36:58;make<br>Using ARCHFLAGS=<br>Using ALL_CFLAGS=-I.. -D_CUPS_SOURCE -I/usr/include/dbus-1.0
 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include   -DDBUS_API_SUBJECT_TO_CHANGE  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT <br>Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE   -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT <br>Using CC=gcc<br>Using CXX=gcc<br>Using DSOFLAGS=-L../cups <br>Using LDFLAGS=-L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -fPIE -pie -Wall -Wno-format-y2k -Wunused -Os -g -fstack-protector -Wno-tautological-compare -D_GNU_SOURCE<br>Using LIBS=../cups/libcups.a -L/usr/lib/x86_64-linux-gnu -Wl,-Bsymbolic-functions -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -L/usr/lib/x86_64-linux-gnu -lgnutls   -L/lib/x86_64-linux-gnu -lgcrypt  -lz -lpthread -lm -lcrypt  <br>Making all in cups...<br>Making all in test...<br>Linking ippserver...<br>/usr/bin/ld: ippserver.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a
 shared object; recompile with -fPIC<br>ippserver.o: could not read symbols: Bad value<br>collect2: ld returned 1 exit status<br>make[1]: *** [ippserver] Error 1<br>make: *** [all] Error 1<br><br>I'll look more into this tomorrow<br><br><br>marty<br><div><br></div></div></body></html>