[gcc4java 0005044]: libgcj.so.13 is missing -lintl

Mantis Bug Tracker via bug-notifications bug-notifications at lists.opencsw.org
Thu Jan 16 12:09:44 CET 2014


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=5044 
====================================================================== 
Reported By:                dam
Assigned To:                
====================================================================== 
Project:                    gcc4java
Issue ID:                   5044
Category:                   packaging
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-01-15 14:49 CET
Last Modified:              2014-01-16 12:09 CET
====================================================================== 
Summary:                    libgcj.so.13 is missing -lintl
Description: 
There is the linkage to libintl.so missing in libgcj.so.13:

dam at unstable10s
[unstable10s]:/home/dam/mgar/pkg/pdftk/trunk/work/solaris10-sparc/build-isa-sparcv8plus/pdftk-1.45-dist/pdftk
> gmake TOOLPATH=/opt/csw/gcc4/bin/ -f Makefile.Solaris
gmake -f Makefile -iC ../java all
gmake[1]: Entering directory
`/home/dam/mgar/pkg/pdftk/trunk/work/solaris10-sparc/build-isa-sparcv8plus/pdftk-1.45-dist/java'
/opt/csw/gcc4/bin/gcj -Wall -Wextra -fsource=1.3 -O2 --encoding=UTF-8
--classpath="/usr/share/java/libgcj.jar:/home/dam/mgar/pkg/pdftk/trunk/work/solaris10-sparc/build-isa-sparcv8plus/pdftk-1.45-dist/java:."
-C com/lowagie/text/ElementTags.java
gcj: error trying to exec 'ecj1': execvp: No such file or directory
gmake[1]: [com/lowagie/text/ElementTags.class] Error 1 (ignored)
/opt/csw/gcc4/bin/gcjh -force
--classpath="/usr/share/java/libgcj.jar:/home/dam/mgar/pkg/pdftk/trunk/work/solaris10-sparc/build-isa-sparcv8plus/pdftk-1.45-dist/java:."
com/lowagie/text/ElementTags
ld.so.1: gcjh-4.7: fatal: relocation error: file /opt/csw/lib/libgcj.so.13:
symbol libiconv_open: referenced symbol not found
Killed

Indeed, here is -liconv missing:

dam at unstable10s
[unstable10s]:/home/dam/mgar/pkg/pdftk/trunk/work/solaris10-sparc/build-isa-sparcv8plus/pdftk-1.45-dist/java
> ldd -r /opt/csw/lib/libgcj.so.13
       libpthread.so.1 =>       /lib/libpthread.so.1
       librt.so.1 =>    /lib/librt.so.1
       libdl.so.1 =>    /lib/libdl.so.1
       libsocket.so.1 =>        /lib/libsocket.so.1
       libnsl.so.1 =>   /lib/libnsl.so.1
       libgcc_s.so.1 =>         /opt/csw/lib/sparcv8/libgcc_s.so.1
       libc.so.1 =>     /lib/libc.so.1
       libaio.so.1 =>   /lib/libaio.so.1
       libmd.so.1 =>    /lib/libmd.so.1
       libmp.so.2 =>    /lib/libmp.so.2
       libscf.so.1 =>   /lib/libscf.so.1
       libdoor.so.1 =>  /lib/libdoor.so.1
       libuutil.so.1 =>         /lib/libuutil.so.1
       libgen.so.1 =>   /lib/libgen.so.1
       /platform/SUNW,SPARC-Enterprise-T5220/lib/libc_psr.so.1
       symbol not found: libiconv_open         (/opt/csw/lib/libgcj.so.13)
       symbol not found: libiconv_close               
(/opt/csw/lib/libgcj.so.13)
       symbol not found: libiconv              (/opt/csw/lib/libgcj.so.13)
       /platform/SUNW,SPARC-Enterprise-T5220/lib/libmd_psr.so.1
       libm.so.2 =>     /lib/libm.so.2

dam at unstable10s
[unstable10s]:/home/dam/mgar/pkg/pdftk/trunk/work/solaris10-sparc/build-isa-sparcv8plus/pdftk-1.45-dist/java
> dump -Lv /opt/csw/lib/libgcj.so.13

/opt/csw/lib/libgcj.so.13:

 **** DYNAMIC SECTION INFORMATION ****
.dynamic:
[INDEX] Tag         Value
[1]     POSFLAG_1       LAZYLOAD
[2]     NEEDED          libpthread.so.1
[3]     POSFLAG_1       LAZYLOAD
[4]     NEEDED          librt.so.1
[5]     POSFLAG_1       LAZYLOAD
[6]     NEEDED          libdl.so.1
[7]     POSFLAG_1       LAZYLOAD
[8]     NEEDED          libsocket.so.1
[9]     POSFLAG_1       LAZYLOAD
[10]    NEEDED          libnsl.so.1
[11]    POSFLAG_1       LAZYLOAD
[12]    NEEDED          libgcc_s.so.1
[13]    NEEDED          libc.so.1
[14]    INIT            0x1884af0
[15]    FINI            0x1884b0c
[16]    SONAME          libgcj.so.13
[17]    RUNPATH         /opt/csw/lib/$ISALIST:/opt/csw/lib
[18]    RPATH           /opt/csw/lib/$ISALIST:/opt/csw/lib
[19]    HASH            0xa9008
[20]    STRTAB          0x22d46c
[21]    STRSZ           0x44eac3
[22]    SYMTAB          0x12a6ec
[23]    SYMENT          0x10
[24]    CHECKSUM        0x50f6
[25]    VERDEF          0x67c0e0
[26]    VERDEFNUM       0x1
[27]    VERNEED         0x67bf30
[28]    VERNEEDNUM      0x7
[29]    RELACOUNT       0x7857d
[30]    PLTSZ           0x22548
[31]    PLTREL          0x7
[32]    JMPREL          0xeafe98
[33]    RELA            0x69c6ac
[34]    RELASZ          0x835d34
[35]    RELAENT         0xc
[36]    SYMINFO         0x684a8
[37]    SYMINSZ         0x40b60
[38]    SYMINENT        0x4
[39]    FLAGS           0
[40]    FLAGS_1         0
[41]    SUNW_STRPAD     0x200
[42]    SUNW_LDMACH     EM_SPARC
[43]    PLTGOT          0x1f09934
====================================================================== 

---------------------------------------------------------------------- 
 (0010683) dam (administrator) - 2014-01-16 12:09
 https://www.opencsw.org/mantis/view.php?id=5044#c10683 
---------------------------------------------------------------------- 
Still true for libgcj.so.14:

unstable10x% ldd -r /opt/csw/lib/i386/libgcj.so.14
        libpthread.so.1 =>       /lib/libpthread.so.1
        libdl.so.1 =>    /lib/libdl.so.1
        libsocket.so.1 =>        /lib/libsocket.so.1
        libnsl.so.1 =>   /lib/libnsl.so.1
        librt.so.1 =>    /lib/librt.so.1
        libc.so.1 =>     /lib/libc.so.1
        libgcc_s.so.1 =>         /opt/csw/lib/i386/libgcc_s.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        libmd.so.1 =>    /lib/libmd.so.1
        libscf.so.1 =>   /lib/libscf.so.1
        libaio.so.1 =>   /lib/libaio.so.1
        libdoor.so.1 =>  /lib/libdoor.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        libgen.so.1 =>   /lib/libgen.so.1
        Symbol nicht gefunden: libiconv_open           
(/opt/csw/lib/i386/libgcj.so.14)
        Symbol nicht gefunden: libiconv_close          
(/opt/csw/lib/i386/libgcj.so.14)
        Symbol nicht gefunden: libiconv        
(/opt/csw/lib/i386/libgcj.so.14)
        libm.so.2 =>     /lib/libm.so.2



More information about the bug-notifications mailing list