Hi,

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:
----------------------------------
make[2]: Entering directory
`/Volumes/app/appman/RPM/TMP/openpkg-1.3.0/rpm-4.0.2'
/bin/sh ./libtool --mode=link /net/gsun492/Volumes/app/appman/bin/gcc
-DOPENPKG
-I/net/gsun492/Volumes/app/appman/RPM/TMP/openpkg-1.3.0/db-3.2.9/build_unix
-I/net/gsun492/Volumes/app/appman/RPM/TMP/openpkg-1.3.0/zlib-1.1.4
-I/net/gsun492/Volumes/app/appman/RPM/TMP/openpkg-1.3.0/bzip2-1.0.2  -g -O2
-D_GNU_SOURCE -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wno-char-subscripts  -o rpm2cpio  rpm2cpio.o ./build/librpmbuild.la
./lib/librpm.la    ./rpmio/librpmio.la ./popt/libpopt.la    ./misc/libmisc.a
-L/net/gsun492/Volumes/app/appman/lib -R/net/gsun492/Volumes/app/appman/lib
-L/usr/local/lib -R/usr/local/lib  -L/usr/ucblib -R/usr/ucblib  -lnsl
-lsocket -lz -lbz2 
/net/gsun492/Volumes/app/appman/bin/gcc -DOPENPKG
-I/net/gsun492/Volumes/app/appman/RPM/TMP/openpkg-1.3.0/db-3.2.9/build_unix
-I/net/gsun492/Volumes/app/appman/RPM/TMP/openpkg-1.3.0/zlib-1.1.4
-I/net/gsun492/Volumes/app/appman/RPM/TMP/openpkg-1.3.0/bzip2-1.0.2 -g -O2
-D_GNU_SOURCE -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wno-char-subscripts -o rpm2cpio rpm2cpio.o ./build/.libs/librpmbuild.a
./lib/.libs/librpm.a ./rpmio/.libs/librpmio.a
-L/net/gsun492/Volumes/app/appman/lib -L/usr/local/lib -L/usr/ucblib -lnsl
-lsocket -lz -lbz2 ./popt/.libs/libpopt.a
-L/net/gsun492/Volumes/app/appman/RPM/TMP/openpkg-1.3.0/db-3.2.9/build_unix
-L/net/gsun492/Volumes/app/appman/RPM/TMP/openpkg-1.3.0/zlib-1.1.4
-L/net/gsun492/Volumes/app/appman/RPM/TMP/openpkg-1.3.0/bzip2-1.0.2
./misc/libmisc.a -L/net/gsun492/Volumes/app/appman/lib -L/usr/local/lib
-L/usr/ucblib -lnsl -lsocket -lz -lbz2 -R/net/gsun492/Volumes/app/appman/lib
-R/usr/local/lib -R/usr/ucblib -R/net/gsun492/Volumes/app/appman/lib
-R/usr/local/lib -R/usr/ucblib
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.  

SunOS gsun492 5.8 Generic_108528-21 sun4u sparc SUNW,Ultra-Enterprise
gcc version 3.1
GNU Make version 3.79.1

Thanks for your help,

-Greg

Gregory R. Warnes
Manager, Non-Clinical Statistics
Pfizer Global Research and Development
Tel: 860-715-3536




LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be privileged. 
It is intended for the addressee(s) only. Access to this E-mail by anyone else is 
unauthorized. If you are not an addressee, any disclosure or copying of the contents 
of this E-mail or any action taken (or not taken) in reliance on it is unauthorized 
and may be unlawful. If you are not an addressee, please inform the sender immediately.
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to