a question on texlive's kpathsea and LD_LIBRARY_PATH
Dear Slackers,
I recently installed a Slackware-13.1 32 bit system and I encountered an odd problem. I had a texlive-2010 package from slackbuilds.org, previously compiled on another 32 bit Slack-13.1 system. I just installed the precompiled package on the new system. However, whenever I tried to issue a latex command, kpathsea complained that it cannot find the shared library file libkpathsea.so.6. I googled a bit and I found that this could be circumvented by setting the environment variable LD_LIBRARY_PATH to "/usr/share/texmf/lib", where the library in question actually is. This solved the problem. The weird thing is that on other machines I have installed, kpathsea had no issues whatsoever and I did not have to set the LD_LIBRARY_PATH. The only difference is that on those systems I had compiled and installed texlive, not just installing a precompiled package. Could that be causing the issue? Any suggestions will be appreciated. Regards, Martin |
maybe "ldconfig" was ran
and that location in in the system this is normally ran with a source install |
Quote:
Thank you very much for your suggestion. I will try it and see what happens. Regards, Martin |
John, you were right. I did a little investigation on my machine at home where I compiled the package and where kpathsea found what it needed. Here are the results:
Code:
bash-4.1# ldd /usr/share/texmf/bin/pdflatex | grep libkpathsea.so.6 Regards, Martin |
I just mailed you privately, but I'll respond here too:
Quote:
|
Strange... I don't have that problem here:
Code:
> ls /var/log/packages/texlive* |
Yes, I have that dependency because I compiled texlive with a slightly modified script to enable xindy and disable multiplatform.
Currently I circumvent the problem by adding /usr/share/texmf/lib to /etc/ld.so.conf. |
All times are GMT -5. The time now is 01:27 AM. |