Problem upgrading /lang/librep (librep-0.16.2_2)

Joe Marcus Clarke marcus at
Thu Nov 27 12:40:26 PST 2003

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


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

Don't do that on 4.X.  /usr/lib/ and /usr/lib/ 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  -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/ 
> -L/usr/local/lib -lxpg4 -lintl -lcrypt -lgmp -lm -Wl,--rpath 
> -Wl,/usr/X11R6/lib
> ./.libs/ warning: tmpnam() possibly used unsafely; consider 
> using mkstemp()
> /usr/libexec/elf/ld: warning:, needed by ./.libs/, 
> not found (try using -rpath or -rpath-link)
> ./.libs/ 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  Reinstall?

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


> Bob
PGP Key :
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url :

More information about the freebsd-questions mailing list