Instalation in Suse

2005-10-06
2013-05-02
  • I have this error:

    java.sql.SQLException: ERROR: could not load library "/usr/lib/postgresql/libpljava.so": libjvm.so: cannot open shared object file: No such file or directory

    any idea??

     
    • I suppose that you are using kompiere under PostgreSQL, I had same problem.

      You try install Java5 , uninstall java of suse and you check  the librarys into /home/postgres/kompiere/e-database/8.0.3/PGSQL.env

      I have this env:

      export PATH=/app/java/jdk1.5.0_04/jre/bin:$PATH
      export LD_LIBRARY_PATH=/lib:/app/java/jdk1.5.0_04/jre/lib/amd64:/app/java/jdk1.5.0_04/jre/lib/amd64/server:/app/java/jdk1.5.0_04/jre/lib/amd64/native_threads:/app/java/jdk1.5.0_04/jre/lib/amd64/server:/app/java/jdk1.5.0_04/jre/lib/amd6
      4:/app/java/jdk1.5.0_04/jre/../lib/amd64

      export LD_PRELOAD=/app/java/jdk1.5.0_04/jre/lib/amd64/libzip.so

      Cheers
      Victor
      www.e-evolution.com