Please help find dependency

Chris Babcock <[email protected]>
Newsgroups gmane.mail.spam.crm114
Organization ASCII King Games
Message-ID <[email protected]>
I'm using Mandriva 2008.1 for x86_64, which does place libraries in odd
locations. The error for "make install_binaries_only" didn't make any
sense:

[root@mail src]# make install_binary_only
install -m 755 crm114 /usr/bin/crm
install: cannot stat `crm114': No such file or directory
make: *** [install_binary_only] Error 1

So I ran make bare:

[root@mail src]# make
#
#   Now building the TRE regex version of CRM114.  If you don't have
#   TRE already, you will need to fetch it from the website and
#   then ./configure --enable-static to get the static TRE libs,
#   then build TRE, add /usr/local/lib to /etc/ld.so.conf, then
#   to set the library up.  Then you can build CRM114 itself.
#
cc -static -static-libgcc -pg  crm_main.o crm_compiler.o crm_errorhandlers.o crm_math_exec.o crm_var_hash_table.o crm_expandvar.o crm_stmt_parser.o crm_vector_tokenize.o crm_expr_alter.o crm_expr_match.o crm_css_maintenance.o crm_markovian.o crm_osb_bayes.o crm_osb_hyperspace.o crm_correlate.o crm_osb_winnow.o crm_winnow_maintenance.o crm_osbf_bayes.o crm_osbf_maintenance.o crm_bit_entropy.o crm_neural_net.o crm_expr_clump.o crm_expr_window.o crm_expr_isolate.o crm_expr_file_io.o crm_expr_syscall.o crm_expr_classify.o crm_expr_translate.o crm_exec_engine.o crm_debugger.o crm_str_funcs.o crm_preprocessor.o crm_expr_sks.o crm_stats.o crm_expr_svm.o crm_fast_substring_compression.o \
          crmregex_tre.o \
          -lm -ltre -o crm114
/usr/bin/ld: cannot find -lm
collect2: ld returned 1 exit status
make: *** [crm114] Error 1

How do I find the missing library? It's too short to make a very good
search term.

Chris


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.