pplatex icon indicating copy to clipboard operation
pplatex copied to clipboard

problem with precompiled pplatex: libpcreposix.so.3

Open MaximLeyenson opened this issue 1 year ago • 0 comments

First of all, thank you for writing pplatex!

Now, the details on the issue I encountered.

  1. Installing precompiled pplatex:
#apt-get install libpcre3 libpcre3-dev

$ gzip -d pplatex-1.0-rc2-linux.tar.gz ;    (tar xvf, etc)

I get the ELF binaries

      pplatex-1.0-rc2/bin/ppdflatex
      pplatex-1.0-rc2/bin/ppluatex
  1. Now, testing it:
     (getting some latex log file, then)
     $ ./pplatex -i main.log

I get

./pplatex: error while loading shared libraries: libpcreposix.so.3:
cannot open shared object file: No such file or directory

However, I do have these libraries:

$ dpkg -L libpcre3 | grep libpcreposix

 /usr/lib/x86_64-linux-gnu/libpcreposix.so.3.13.3
 /usr/lib/x86_64-linux-gnu/libpcreposix.so.3

$ dpkg -L libpcre3-dev | grep libpcreposix.so

   /usr/lib/x86_64-linux-gnu/libpcreposix.so

$ file /usr/lib/x86_64-linux-gnu/libpcreposix.so
/usr/lib/x86_64-linux-gnu/libpcreposix.so: symbolic link to
libpcreposix.so.3.13.3

Everything looks fine?

  1. My system:
$ uname -a
Linux buddha 5.15.0-105-generic #115-Ubuntu SMP Mon Apr 15 09:52:04 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/issue
Linux Mint 21.3 Virginia 
  1. (Update: I also had a problem with compiling the source code, too; I got the source code at the https://github.com/stefanhepp/pplatex/releases

But now I did $git clone and was able to compile pplatex successfully, so I finally have it working!)

Thank you again! Maxim.

MaximLeyenson avatar May 07 '24 01:05 MaximLeyenson