Re: htdig: htDig compile errors under linux


J. op den Brouw (MSQL_User@st.hhs.nl)
Fri, 04 Dec 1998 14:10:49 +0100


It seems that your DB2 (db-2.4.14) is not installed correctly
because it cannot resolve symbols (undefined references....).
Check if DB2 if configured correctrly.
Somewhere in db-2.4.14/dist there has to be a libdb.a

Johann Habakuk Israel wrote:
>
> Hello,
>
> when I try to compile ht-dig version 3.1.0b2 and before, I'm permanently
> getting these error messages:
>
> make[1]: Entering directory `/htdig-3.1.0b2/htfuzzy'
> c++ -o htfuzzy -L../htlib -L../htcommon -L../db-2.4.14/dist
> -L../rx-1.5/rx -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 -lcommon -lht -ldb -lrx
> ../htlib/libht.a(DB2_db.o): In function `DB2_db::OpenReadWrite(char *,
> int)':
> /htdig-3.1.0b2/htlib/DB2_db.cc:94: undefined reference to `db_open'
> ../htlib/libht.a(DB2_db.o): In function `DB2_db::OpenRead(char *)':
> /htdig-3.1.0b2/htlib/DB2_db.cc:134: undefined reference to `db_open'
> ../htlib/libht.a(DB2_db.o): In function `DB2_db::Close(void)':
> /htdig-3.1.0b2/htlib/DB2_db.cc:166: undefined reference to `db_appexit'
> ../htlib/libht.a(DB2_db.o): In function `DB2_db::db_init(char *)':
> /htdig-3.1.0b2/htlib/DB2_db.cc:402: undefined reference to `db_appinit'
> make[1]: *** [htfuzzy] Error 1
> make[1]: Leaving directory `/htdig-3.1.0b2/htfuzzy'
> make: *** [all] Error 1
>
> I'm running Linux 1.2.13 on a i586, newest gcc version 2.8.1 and GNU
> Make version 3.74. g++ lib is installed aswell.
>
> Hints are welcome !
>
> J. Israel
> ----------------------------------------------------------------------
> To unsubscribe from the htdig mailing list, send a message to
> htdig-request@sdsu.edu containing the single word "unsubscribe" in
> the body of the message.
----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-request@sdsu.edu containing the single word "unsubscribe" in
the body of the message.



This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:29:47 PST