Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Jan 2010 19:57:19 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Mike Clarke <jmc-freebsd2@milibyte.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Problems building en-openoffice.org-GB-3.1.1 from ports
Message-ID:  <4B3FA51F.5040909@infracaninophile.co.uk>
In-Reply-To: <201001021557.59944.jmc-freebsd2@milibyte.co.uk>
References:  <201001021557.59944.jmc-freebsd2@milibyte.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig5F6FF250ECAE6F66B5AA7721
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

Mike Clarke wrote:
> After successfully moving from 6.4 to 8.0 by doing a clean install I've=
=20
> embarked on the task of rebuilding OpenOffice from ports :-(
>=20
> I'm getting a confusing error in the config stage:
>=20
> ------------------------------------------------------------
> =3D=3D=3D>  Configuring for en-openoffice.org-GB-3.1.1
> <snip>
> checking for=20
> gperf... /backup/tmp/ports/work/usr/ports/editors/openoffice.org-3/work=
/OOO310_m19/solenv/bin/gperf
> checking gperf version... /libexec/ld-elf.so.1: Shared=20
> object "libstdc++.so.5" not found, required by "gperf"
> test: : bad number
> configure: error: too old, you need at least 3.0.0
> =3D=3D=3D>  Script "configure" failed unexpectedly.
> ------------------------------------------------------------

gperf comes with the base system as well:

% /usr/bin/gperf --version=20
GNU gperf 2.7.2

but it is certainly possible to build OOo under FreeBSD 8.0 --
it will install the ports version of gperf as a build dependency.

> True enough I don't have a native libstdc++.so.5 .
>=20
> /usr/local/lib/gcc/i386-portbld-freebsd6.4/3.4.6/libstdc++.so.6

^^^ Looks like something that was installed under FreeBSD 6.4.  Dunno
    what in the up-to-date ports tree would need gcc-3.4 since the base
    system is now up to gcc-4.2, and that's quite capable of compiling
    OOo.

> /usr/local/lib/compat/libstdc++.so.4

^^^ This is from the compat6x port=20

> /usr/lib/libstdc++.so.6

^^^ the version from 8.0 base system

libstdc++.so.5 would be part of a 7.x base system, but as you've gone=20
to 8.0 by doing a clean install, nothing should be referencing that
version.  What does 'ldd /usr/local/bin/gperf' tell you?

At a guess you haven't followed the often repeated advice to reinstall
/all/ your ports when you do a major version upgrade.  That means
recompile from source in correct dependency order, or install pkgs compil=
ed=20
under 8.0.  Yes, it's tedious.  Yes, it consumes a lot of CPU cycles.  Bu=
t
now you understand why this is good advice...

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW


--------------enig5F6FF250ECAE6F66B5AA7721
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAks/pSYACgkQ8Mjk52CukIxgjwCfSUORlRTljJAQzxrcUqeCf6Iy
Y20AoIH2wqOxFX2dzfXpfK7NTIGi4kSX
=v+Yt
-----END PGP SIGNATURE-----

--------------enig5F6FF250ECAE6F66B5AA7721--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B3FA51F.5040909>