On Thu, Feb 12, 2004, Warnes, Gregory R wrote:
> I've been running a really old version of openpkg
> (openpkg-20020625-20020625) on Solaris for some time, and I've occasionally
> tried to upgrade but have always run into problems and given up.
>
> I really would like to do a proper upgrade now, and have run into several
> problems. Whether I use the bootstrap or the src rpm I get the same compile
> errors while building rpm:
> [...]
> `/Volumes/app/appman/RPM/TMP/openpkg-1.3.0/rpm-4.0.2'
> [...]
> Undefined first referenced
> symbol in file
> BZ2_bzflush ./rpmio/.libs/librpmio.a(rpmio.o)
> db_env_create ./lib/.libs/librpm.a(db3.o)
> db_strerror ./lib/.libs/librpm.a(db3.o)
> BZ2_bzdopen ./rpmio/.libs/librpmio.a(rpmio.o)
> BZ2_bzread ./rpmio/.libs/librpmio.a(rpmio.o)
> BZ2_bzclose ./rpmio/.libs/librpmio.a(rpmio.o)
> BZ2_bzerror ./rpmio/.libs/librpmio.a(rpmio.o)
> BZ2_bzopen ./rpmio/.libs/librpmio.a(rpmio.o)
> db_env_set_func_fsync ./lib/.libs/librpm.a(db3.o)
> BZ2_bzwrite ./rpmio/.libs/librpmio.a(rpmio.o)
> db_create ./lib/.libs/librpm.a(db3.o)
> ld: fatal: Symbol referencing errors. No output written to rpm2cpio
> collect2: ld returned 1 exit status
> -------------------------------
>
> I'm not sure exactly what is causing this problem to occur since the bz2
> library appears to compile fine and is explicitly named in the path.
I cannot remember myself why this happens, but I think I've also seen
it myself two years ago on a Solaris box. But, forget OpenPKG 1.3 and
RPM 4.0.2 here. OpenPKG CURRENT (and in one week 2.0) runs fine under
Solaris 8, so give this a try, please. It contains RPM 4.2.1 which is
completely different and so the chance is high that it also works on
your Solaris 8 box. Also make sure you have the latest Solaris 8 patch
cluster applied.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [EMAIL PROTECTED]