Re: gnorpm link problem



I haven't checked what changes are in rpm-3.0.1.  I guess that they split
off some code from librpm into a separate library.  Are there any other
libraries that get installed with rpm-3.0.1 ?

James.

--
Email: james@daa.com.au
WWW:   http://www.daa.com.au/~james/


On Mon, 31 May 1999, Dave Seidel wrote:

> I just installed rpm 3.0.1 from the source tarballs, and I'm trying to
> rebuild gnorpm from scratch (from the latest CVS sources).  Here are the
> link errors I'm getting:
> 
> /usr/lib/librpm.a(verify.o): In function `verifyDependencies':
> /usr/src/rpm-3.0.1/lib/verify.c:327: undefined reference to `printDepFlags'
> /usr/lib/librpm.a(query.o): In function `printNewSpecfile':
> /usr/src/rpm-3.0.1/lib/query.c:447: undefined reference to `tagName'
> /usr/src/rpm-3.0.1/lib/query.c:450: undefined reference to `specedit'
> /usr/lib/librpm.a(query.o): In function `rpmQueryVerify':
> /usr/src/rpm-3.0.1/lib/query.c:545: undefined reference to `ufdOpen'
> /usr/src/rpm-3.0.1/lib/query.c:548: undefined reference to `ufdClose'
> /usr/src/rpm-3.0.1/lib/query.c:555: undefined reference to `ufdClose'
> /usr/src/rpm-3.0.1/lib/query.c:589: undefined reference to `parseSpec'
> /usr/src/rpm-3.0.1/lib/query.c:594: undefined reference to `freeSpec'
> /usr/src/rpm-3.0.1/lib/query.c:599: undefined reference to `specedit'
> /usr/src/rpm-3.0.1/lib/query.c:601: undefined reference to `freeSpec'
> /usr/src/rpm-3.0.1/lib/query.c:618: undefined reference to `freeSpec'
> /usr/lib/librpm.a(query.o): In function `queryArgCallback':
> /usr/src/rpm-3.0.1/lib/query.c:94: undefined reference to `specedit'
> collect2: ld returned 1 exit status
> make[2]: *** [gnorpm] Error 1
> make[2]: Leaving directory `/usr/src/gnome-cvs/gnome/gnorpm'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/gnome-cvs/gnome/gnorpm'
> make: *** [all-recursive-am] Error 2
> 
> RPM itself built without any apparent problems (using --prefix=/usr), and
> seems to work, at least for the few operations I've tried so far
> (e.h., -q, -e, -U).  Any ides what I might be doing wrong?
> 
> - Dave
> 
> -----
> Dave Seidel
> dave@superluminal.com
> www.superluminal.com/dave
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]