On one of my machines, Bibtex is now unable to find any .bib bibliography files, whether the .bib file is in ~/texmf/bibtex/bib/ and or even if I copy it into the local directory. This is a sudden issue, as Bibtex has worked fine on this machine for years; and I have similar setups on other machines and they remain working as usual.
I checked kpsewhich's report for texmf.cnf:
$ kpsewhich texmf.cnf
/usr/share/texmf-dist/web2c/texmf.cnf
This contains (as well as other settings), the following lines:
% pBibTeX bibliographies and style files.
BIBINPUTS.pbibtex = .;$TEXMF/{pbibtex,bibtex}/bib//
BSTINPUTS.pbibtex = .;$TEXMF/{pbibtex,bibtex}/bst//
Which I believe are the relevant settings for bibtex to look for .bib files in ~/texmf/bibtex/bib/ and the local directory.
So I'm not sure what else to check.
Latexmk: Failed to find one or more bibliography files: 'bibliography_main.bib'
. bibtex reportsI couldn't open database file bibliography_main.bib
."..."
.bib
filename contains underscores.kpsewhich -var-value=TEXMF
etc. will show the value of the variables being used. Also there is a-debug
flat you can try to get information about the concrete lookup process.