|
From: Neal R. <ne...@ri...> - 2002-04-12 17:00:00
|
> -I../htlib -I../htcommon -I../db/dist -I../include -g -O2 Accents.cc > c++ -o htfuzzy -L../htlib -L../htcommon -L../db/dist -L/usr/lib > Endings.o EndingsDB.o Exact.o Fuzzy.o Metaphone.o Soundex.o SuffixEntry.o > Synonym.o htfuzzy.o Substring.o Prefix.o Accents.o > ../htcommon/libcommon.a ../htlib/libht.a ../db/dist/libdb.a -lz -lnsl > -lsocket > ld32: FATAL 12 : Expecting n32 objects: /usr/lib/libz.so is o32. > collect2: ld returned 4 exit status > *** Error code 1 (bu21) > *** Error code 1 (bu21) edit your htdig makefiles & use the "-o32" compile switch. or try a 'make clean && make CFLAGS=-o32 CXXFLAGS=-o32' http://www.cise.ufl.edu/help/FAQ/faq_sec_17.shtml See question "17.5" This is a common problem.. do a google search for more info! Execute these commands for fun: 'file /usr/lib/libz.so' 'file htfuzzy/htfuzzy.o' It should tell you some information about the object files. [last resort] Otherwise download from http://www.gzip.org/zlib/ and rebuild it, then statically link 'libz.a' into htdig. Do NOT replace the system libz.so Good luck. -- Neal Richter Knowledgebase Developer RightNow Technologies, Inc. Customer Service for Every Web Site |