Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Nov 2003 15:40:18 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Bob Perry <rperry4@earthlink.net>
Cc:        FreeBSD User Questions List <freebsd-questions@freebsd.org>
Subject:   Re: Problem upgrading /lang/librep (librep-0.16.2_2)
Message-ID:  <1069965617.44684.73.camel@shumai.marcuscom.com>
In-Reply-To: <3FC66134.1040102@earthlink.net>
References:  <3FC64CD8.6050805@earthlink.net> <1069960852.44684.37.camel@shumai.marcuscom.com> <3FC66134.1040102@earthlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-nHUlFraB/cQ0jcZ0abQs
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2003-11-27 at 15:40, Bob Perry wrote:

[snip]

> >Hmm...I bet this machine was upgraded from -STABLE, and you still have a
> >/usr/lib/libgmp.so link.  If you do, remove that file/symlink, and
> >librep should build.
> > =20
> >
> Removed both the link /usr/lib/libgmp.so -> libgmp.so.3 and the file=20
> /usr/lib/libgmp.so.3
> and tried to build librep.  Here's the putput:

Don't do that on 4.X.  /usr/lib/libgmp.so and /usr/lib/libgmp.so.3 need
to exist on 4.X.  See above, I assumed this was -CURRENT upgraded from
-STABLE.  In that case, you can remove those files.  However, since
you're on 4.X, put them back.

>=20
> gmake[1]: Entering directory=20
> `/usr/ports/lang/librep/work/librep-0.16.2/intl'
> gmake[1]: Nothing to be done for `all'.
> gmake[1]: Leaving directory `/usr/ports/lang/librep/work/librep-0.16.2/in=
tl'
> gmake[1]: Entering directory `/usr/ports/lang/librep/work/librep-0.16.2/s=
rc'
> /bin/sh ../libtool --mode=3Dlink cc -export-dynamic -DHAVE_CONFIG_H -I.=20
> -I../src -I.. -I/usr/local/include -O -pipe  -o rep \
>   rep.o librep.la  -L/usr/local/lib -lxpg4 -lintl -pthread -lcrypt -lgmp =
-lm
> cc -DHAVE_CONFIG_H -I. -I../src -I.. -I/usr/local/include -O -pipe -o=20
> .libs/rep rep.o -pthread -Wl,--export-dynamic  ./.libs/librep.so=20
> -L/usr/local/lib -lxpg4 -lintl -lcrypt -lgmp -lm -Wl,--rpath=20
> -Wl,/usr/X11R6/lib
> ./.libs/librep.so: warning: tmpnam() possibly used unsafely; consider=20
> using mkstemp()
> /usr/libexec/elf/ld: warning: libgmp.so.3, needed by ./.libs/librep.so,=20
> not found (try using -rpath or -rpath-link)
> ./.libs/librep.so: undefined reference to `mpq_set_d'
> gmake[1]: *** [rep] Error 1
> gmake[1]: Leaving directory `/usr/ports/lang/librep/work/librep-0.16.2/sr=
c'
> gmake: *** [all] Error 1
> *** Error code 2
> =20
> Stop in /usr/ports/lang/librep.
>=20
> Looks like librep is looking for libgmp.so.3.  Reinstall?

No, see my follow-up email.  I fixed this in CVS.

Joe

>=20
> Bob
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-nHUlFraB/cQ0jcZ0abQs
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQA/xmExb2iPiv4Uz4cRAqdxAKCp/p1MN1XeYjiTDQAdVQlOsbWSEgCfbXek
IS0yGDggu8GoQl/VuVIB8Xs=
=k0ZH
-----END PGP SIGNATURE-----

--=-nHUlFraB/cQ0jcZ0abQs--



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