Opened 13 years ago

Closed 13 years ago

#26724 closed defect (fixed)

bibtex2html: library not found for -lstr

Reported by: ryandesign (Ryan Carsten Schmidt) 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 (1)

main.log (8.0 KB) - added by ryandesign (Ryan Carsten Schmidt) 13 years ago.
log

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

log

comment:1 in reply to:  description Changed 13 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 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Made this change in r72415.

Note: See TracTickets for help on using tickets.