New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #26724 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

bibtex2html: library not found for -lstr

Reported by: ryandesign@… Owned by: reilles@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: bibtex2html

Description

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

Attachments

main.log (8.0 KB) - added by ryandesign@… 3 years ago.
log

Change History

Changed 3 years ago by ryandesign@…

log

comment:1 in reply to: ↑ description Changed 3 years ago 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 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

comment:2 Changed 3 years ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to fixed

Made this change in r72415.

Note: See TracTickets for help on using tickets.