Build fails with `/usr/bin/powerpc64le-linux-gnu-ld: cannot find -ljawt`
Paul Menzel
pmenzel+libreoffice at molgen.mpg.de
Mon Jun 11 17:04:56 UTC 2018
Dear LibreOffice folks,
On ppc64le with Ubuntu 18.04 and latest LibreOffice from master, the build
fails with the error below.
```
$ uname -m
ppc64le
$ git describe --dirtylibreoffice-5-4-branch-point-1380-gc2ce3a2dbebd
$ git log --oneline -1c2ce3a2dbebd (HEAD -> master, origin/master, origin/HEAD)
sw: prefix members of SwTOXInternational
$ ./configure --with-jdk-home=/usr/lib/jvm/default-java/
$ make
[…]
/usr/bin/powerpc64le-linux-gnu-ld: cannot find -ljawt
collect2: error: ld returned 1 exit status
/dev/shm/libreoffice-core/bean/Library_officebean.mk:12: recipe for target '/dev/shm/libreoffice-core/instdir/program/libofficebean.so' failed
make[1]: *** [/dev/shm/libreoffice-core/instdir/program/libofficebean.so] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:264: recipe for target 'build' failed
make: *** [build] Error 2
$ /usr/lib/jvm/default-java/bin/java --version
openjdk 10.0.1 2018-04-17
OpenJDK Runtime Environment (build 10.0.1+10-Ubuntu-3ubuntu1)
OpenJDK 64-Bit Server VM (build 10.0.1+10-Ubuntu-3ubuntu1, mixed mode)
$ dpkg -S jawt
openjdk-8-jre-headless:ppc64el: /usr/lib/jvm/java-8-openjdk-ppc64el/jre/lib/ppc64le/libjawt.so
openjdk-11-jre-headless:ppc64el: /usr/lib/jvm/java-11-openjdk-ppc64el/lib/libjawt.so
openjdk-11-jdk:ppc64el: /usr/lib/jvm/java-11-openjdk-ppc64el/include/linux/jawt_md.h
openjdk-11-jdk:ppc64el: /usr/lib/jvm/java-11-openjdk-ppc64el/include/jawt.h
$ ls -l /usr/lib/jvm/total 192
lrwxrwxrwx 1 root root 27 Apr 8 15:16 default-java -> java-1.11.0-openjdk-ppc64el
lrwxrwxrwx 1 root root 23 Apr 21 15:41 java-1.11.0-openjdk-ppc64el -> java-11-openjdk-ppc64el
drwxr-xr-x 1 root root 82 May 22 18:50 java-11-openjdk-ppc64el
lrwxrwxrwx 1 root root 22 May 6 2017 java-1.8.0-openjdk-ppc64el -> java-8-openjdk-ppc64el
drwxr-xr-x 1 root root 26 May 23 14:50 java-8-openjdk-ppc64el
```
Kind regardsm,
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5174 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20180611/f06fc0c7/attachment.bin>
More information about the LibreOffice
mailing list