Build fails with `/usr/bin/powerpc64le-linux-gnu-ld: cannot find -ljawt`

classic Classic list List threaded Threaded
2 messages Options
Paul Menzel Paul Menzel
Reply | Threaded
Open this post in threaded view
|

Build fails with `/usr/bin/powerpc64le-linux-gnu-ld: cannot find -ljawt`

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


_______________________________________________
LibreOffice mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/libreoffice

smime.p7s (6K) Download Attachment
Paul Menzel Paul Menzel
Reply | Threaded
Open this post in threaded view
|

[solved] Re: Build fails with `/usr/bin/powerpc64le-linux-gnu-ld: cannot find -ljawt`

Dear LibreOffice folks,


On 06/11/18 19:04, Paul Menzel wrote:

> 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
> ```
That is from 2017 and not 2018, so I used outdated code. Sorry for the noise. It
now fails at a different location. ;-)

[…]

Kind regards,

Paul


_______________________________________________
LibreOffice mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/libreoffice

smime.p7s (6K) Download Attachment