[pacman-dev] Fwd: Problem installing pacman-4.2.0 and 4.2.1

Andrew Gregory andrew.gregory.8 at gmail.com
Fri Jan 15 23:48:33 UTC 2016


On 01/16/16 at 01:12am, Michaila Goula-Dimitriou wrote:
> 2016-01-16 0:58 GMT+02:00 Allan McRae <allan at archlinux.org>:
> 
> > On 16/01/16 08:44, Michaila Goula-Dimitriou wrote:
> > > Hello,
> > >
> > > I am not sure if this is a bug but trying the "make" command on both
> > 4.2.0
> > > and 4.2.1 versions of packman gave me the exact same error:
> > >
> > > callback.o: In function `get_time_ms':
> > > /home/mixa/pacman-4.2.1/src/pacman/callback.c:59: undefined reference to
> > > `clock_gettime'
> > > collect2: ld returned 1 exit status
> > > make[3]: *** [pacman] Error 1
> > > make[2]: *** [all-recursive] Error 1
> > > make[1]: *** [all-recursive] Error 1
> > > make: *** [all] Error 2
> > >
> > > Is there something to do in order to fix this?
> > >
> >
> > No idea because you have given us little details.   What operating
> > system/distribution are you using?  How did you configure?
> >
> > A
> 
> Yes sorry for that. I am running Ubuntu 12.04 64bit. I ran ./configure and
> then make and got this error.

Looks like your glibc is old enough that you need to link with -lrt.
Rerun ./configure with LIBS=-lrt

apg


More information about the pacman-dev mailing list