pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: openoffice2 won't work



Hello,

At Thu, 19 Apr 2007 17:58:35 +0200,
david.aubril wrote:
> 
> Me again.
> I made a all bunch of symbolic links to go further, and the binary 
> package worked to that point :
> 
> ln -s /usr/pkg/emul/linux/usr/lib/libstdc++.so.6 
> /usr/pkg/OpenOffice.org2.2.0/program/libstdc++.so.6
> 
> $ soffice                                                                     
>                                               
> 
> Shared object "libm.so.6" not found
> 
> ln -s /usr/pkg/emul/linux/lib/libm.so.6 
> /usr/pkg/OpenOffice.org2.2.0/program/libm.so.6
> 
> $ soffice  
> 
> Shared object "libc.so.6" not found
> 
> ln -s /usr/pkg/emul/linux/lib/libc.so.6 
> /usr/pkg/OpenOffice.org2.2.0/program/libc.so.6
> 
> $ soffice  
> 
> Shared object "ld-linux.so.2" not found
> 
> ln -s /usr/pkg/emul/linux/lib/ld-linux.so.2 
> /usr/pkg/OpenOffice.org2.2.0/program/ld-linux.so.2
> 
> $ soffice  
> 
> [1]   Segmentation fault (core dumped) "${sd_prog}/page...
> 
> [1]   Segmentation fault (core dumped) "${sd_prog}/${sd...
> 
> $ 

It does not work because it's a NetBSD binary.

> david.aubril wrote:
> > Hi everyone.
> > I'm trying to upgrade to 2007Q1 and get openoffice2 to work... ( 
> > NetBSD 3.1 / i386 ).
> > When I try to pkg_add a binary package, I get the message :
> >
> > Shared object "libstdc++.so.6" not found
> >
> > when I try to build it, I get an error message :
> >
> > checking for C compiler default output file name... configure: error: 
> > C compiler cannot create executables
> >
> > See `config.log' for more details.
> >
> > *** Error code 77
> >
> > My options are lang-fr and gnome.
> > Any idea ?
> > Best regards,
> > David

Where did you fetch the packages from?
The gcc34 which has been installed to your system may be broken.

I can't reproduce the problem on the NetBSD 3.1_STABLE/i386.

# pkg_tarup gcc34
Creating binary package: gcc34-3.4.6nb1
Creating package /tmp/gcc34-3.4.6nb1.tgz
Registering depends:.
Registering conflicts:.
# pkg_tarup openoffice2
Creating binary package: openoffice2-2.2.0
Creating package /tmp/openoffice2-2.2.0.tgz
Registering depends: firefox>=1.5.0.1nb1 gtk2+>=2.8.17nb1 libwpd>=0.8.4nb3 
MesaLib>=6.4.1nb1 cairo>=1.0.4nb1 fontconfig>=2.3.2nb2 freetype2>=2.1.10nb1 
libxslt>=1.1.15nb1 libxml2>=2.6.23nb1 xcursor>=1.1.2nb1 Xrandr>=1.0.2nb3 
Xrender>=0.9.0nb1 gcc34>=3.4.5nb1 Xfixes>=2.0.1nb2.
Registering conflicts: staroffice-[0-9]* openoffice-[0-9]* 
openoffice-bin-[0-9]* openoffice2-bin-[0-9]* openoffice-linux-[0-9]*.
# pkg_delete openoffice2
# pkg_delete gcc34
# cd /tmp
# pkg_add openoffice2

===========================================================================
$NetBSD: MESSAGE,v 1.2 2005/09/28 14:15:49 rillig Exp $

gcc34-3.4.6nb1 has been installed in /usr/pkg/gcc34

To use this compiler in pkgsrc:

   1) In your "pre-configure" target:

   .include "../../lang/gcc34/preconfigure.mk"

   2) .include "../../lang/gcc34/buildlink3.mk"

The "preconfigure.mk" makefile fragment will override the compiler tools
selected by ../../mk/compiler.mk to use gcc version 3.4.x.

===========================================================================

# pkg_info | grep gcc34
gcc34-3.4.6nb1      This is the gcc 3.4 compiler
# LD_LIBRARY_PATH=/usr/pkg/OpenOffice.org2.2.0/program ldd 
/usr/pkg/OpenOffice.org2.2.0/program/soffice.bin
/usr/pkg/OpenOffice.org2.2.0/program/soffice.bin:
        -lpthread.0 => /usr/lib/libpthread.so.0
        -lc.12 => /usr/lib/libc.so.12
        -lgcc_s.1 => /usr/pkg/gcc34/lib/libgcc_s.so.1
        -lm.0 => /usr/lib/libm387.so.0
        -lm.0 => /usr/lib/libm.so.0
        -lstdc++.6 => /usr/pkg/gcc34/lib/libstdc++.so.6
        -luno_sal.3 => /usr/pkg/OpenOffice.org2.2.0/program/libuno_sal.so.3
        -lstlport_gcc => /usr/pkg/OpenOffice.org2.2.0/program/libstlport_gcc.so
        -luno_salhelpergcc3.3 => 
/usr/pkg/OpenOffice.org2.2.0/program/libuno_salhelpergcc3.so.3
        -luno_cppu.3 => /usr/pkg/OpenOffice.org2.2.0/program/libuno_cppu.so.3
        -luno_cppuhelpergcc3.3 => 
/usr/pkg/OpenOffice.org2.2.0/program/libuno_cppuhelpergcc3.so.3
        -lvos3gcc3 => /usr/pkg/OpenOffice.org2.2.0/program/libvos3gcc3.so
        -lucbhelper3gcc3 => 
/usr/pkg/OpenOffice.org2.2.0/program/libucbhelper3gcc3.so
        -lbasegfx680bi => 
/usr/pkg/OpenOffice.org2.2.0/program/libbasegfx680bi.so
        -li18nisolang1gcc3 => 
/usr/pkg/OpenOffice.org2.2.0/program/libi18nisolang1gcc3.so
        -ltl680bi => /usr/pkg/OpenOffice.org2.2.0/program/libtl680bi.so
        -lcomphelp4gcc3 => 
/usr/pkg/OpenOffice.org2.2.0/program/libcomphelp4gcc3.so
        -lutl680bi => /usr/pkg/OpenOffice.org2.2.0/program/libutl680bi.so
        -lsot680bi => /usr/pkg/OpenOffice.org2.2.0/program/libsot680bi.so
        -licudata.36 => /usr/pkg/OpenOffice.org2.2.0/program/libicudata.so.36
        -licuuc.36 => /usr/pkg/OpenOffice.org2.2.0/program/libicuuc.so.36
        -licule.36 => /usr/pkg/OpenOffice.org2.2.0/program/libicule.so.36
        -ljvmaccessgcc3.3 => 
/usr/pkg/OpenOffice.org2.2.0/program/libjvmaccessgcc3.so.3
        -lz.0 => /usr/lib/libz.so.0
        -lfreetype.6 => /usr/pkg/lib/libfreetype.so.6
        -lX11.6 => /usr/X11R6/lib/libX11.so.6
        -lXext.6 => /usr/X11R6/lib/libXext.so.6
        -lvcl680bi => /usr/pkg/OpenOffice.org2.2.0/program/libvcl680bi.so
        -lsvl680bi => /usr/pkg/OpenOffice.org2.2.0/program/libsvl680bi.so
        -ltk680bi => /usr/pkg/OpenOffice.org2.2.0/program/libtk680bi.so
        -lxml2.2 => /usr/pkg/lib/libxml2.so.2
        -ljvmfwk.3 => /usr/pkg/OpenOffice.org2.2.0/program/libjvmfwk.so.3
        -lsvt680bi => /usr/pkg/OpenOffice.org2.2.0/program/libsvt680bi.so
#

best regards.
-- 
 Kouichirou Hiratsuka
   hira%po6.nsk.ne.jp@localhost



Home | Main Index | Thread Index | Old Index