[MacPorts] #26724: bibtex2html: library not found for -lstr

MacPorts noreply at macports.org
Sun Oct 10 23:33:50 PDT 2010


#26724: bibtex2html: library not found for -lstr
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  reilles@…       
     Type:  defect                   |      Status:  new             
 Priority:  Normal                   |   Milestone:                  
Component:  ports                    |     Version:  1.9.1           
 Keywords:                           |        Port:  bibtex2html     
-------------------------------------+--------------------------------------

Comment(by ianh@…):

 The str library is an ocaml library and is already included via
 "str.cmxa".
 In Makefile.in for bibtex2html changing
  STRLIB = -cclib -lstr
 to
  STRLIB =
 allows bibtex2html to build.
 I'm not sure why STRLIB is defined like this?


 Replying to [ticket:26724 ryandesign@…]:
 > bibtex2html fails to build:
 >
 > {{{
 > ocamlopt.opt     -o bibtex2html str.cmxa options.cmx html.cmx
 latexmacros.cmx latexscan.cmx bbl_lexer.cmx bibtex.cmx bibtex_parser.cmx
 bibtex_lexer.cmx readbib.cmx expand.cmx bibfilter.cmx biboutput.cmx
 version.cmx translate.cmx copying.cmx main.cmx -cclib -lstr
 > ld: library not found for -lstr
 > collect2: ld returned 1 exit status
 > File "caml_startup", line 1, characters 0-1:
 > Error: Error during linking
 > make: *** [bibtex2html] Error 2
 > }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/26724#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list