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. > > > > > Removed both the link /usr/lib/libgmp.so -> libgmp.so.3 and the file > /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. > > gmake[1]: Entering directory > `/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/intl' > gmake[1]: Entering directory `/usr/ports/lang/librep/work/librep-0.16.2/src' > /bin/sh ../libtool --mode=link cc -export-dynamic -DHAVE_CONFIG_H -I. > -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 > .libs/rep rep.o -pthread -Wl,--export-dynamic ./.libs/librep.so > -L/usr/local/lib -lxpg4 -lintl -lcrypt -lgmp -lm -Wl,--rpath > -Wl,/usr/X11R6/lib > ./.libs/librep.so: warning: tmpnam() possibly used unsafely; consider > using mkstemp() > /usr/libexec/elf/ld: warning: libgmp.so.3, needed by ./.libs/librep.so, > 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/src' > gmake: *** [all] Error 1 > *** Error code 2 > > Stop in /usr/ports/lang/librep. > > Looks like librep is looking for libgmp.so.3. Reinstall? No, see my follow-up email. I fixed this in CVS. Joe > > Bob -- PGP Key : http://www.marcuscom.com/pgp.asc
signature.asc
Description: This is a digitally signed message part