On Nov 11, 2007, at 7:30 PM, Andrey Falko wrote:
Hi everyone,
I get the following compile error on "make" on a freshly extracted
rpm-5.0a1.tar.gz:
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -
DRPM_OS_LINUX=020622 -g -O2 -D_GNU_SOURCE -D_REENTRANT -MT
librpmmisc.lo -MD -MP -MF .deps/librpmmisc.Tpo -c librpmmisc.c -o
librpmmisc.o >/dev/null 2>&1
mv -f .deps/librpmmisc.Tpo .deps/librpmmisc.Plo
/bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -g
-O2 -D_GNU_SOURCE -D_REENTRANT -release 5.0 -Wl,--version-script=./
librpmmisc.vers -L../db3 -L../zlib -o librpmmisc.la -rpath /usr/
lib librpmmisc.lo -ldb-4.6 -lrpmz -lpopt -lbeecrypt -lbz2 -lpthread
i686-pc-linux-gnu-gcc -shared .libs/librpmmisc.o -Wl,--whole-
archive /tmp/rpm- 5.0a1/db3/.libs/libdb- 4.6.a /tmp/rpm-5.0a1/
zlib/.libs/librpmz.a -Wl,--no-whole-archive -L/tmp/rpm-5.0a1/db3 -
L/tmp/rpm-5.0a1/zlib /usr/lib/libpopt.so /usr/lib/libbeecrypt.so -
lbz2 -lpthread -Wl,--version-script=./librpmmisc.vers -Wl,-soname -
Wl, librpmmisc-5.0.so -o .libs/librpmmisc-5.0.so
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/
bin/ld: cannot open linker script file ./librpmmisc.vers: No such
file or directory
collect2: ld returned 1 exit status
make[2]: *** [librpmmisc.la] Error 1
make[2]: Leaving directory /tmp/rpm- 5.0a1'
make: *** [all] Error 2
My configure options (a plain old "./configure" also gives the same
error):
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/
share/man --infodir=/usr/share/info --datadir=/usr/share --
sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr --without-
selinux --enable-nls --without-libelf --with-python --without-
dmalloc --with-bzip2 --without-keyutils --without-file --without-
neon --without-sqlite --without-lua --without-xar --build=i686-pc-
linux-gnu
I can get error to go away with:
sed -i 's#--version-script=/librpmmisc.vers##' \
misc/Makefile.am \
misc/Makefile.in
Before doing ./configure. Obviously that is not the right solution.
The source directory does not have a librpmmisc.vers file.
Is this error on my end? I've been seeing it in snapshots since mid-
October.
The file likely dropped out of some manifest somewhere.
Not much to the file:
LIBRPMMISC_0
{
global:
fnmatch;
glob;
globfree;
rpmz_*;
lua*;
db_env_create_rpmdb;
db_env_set_func_open_rpmdb;
db_env_set_func_fsync_rpmdb;
db_strerror_rpmdb;
db_create_rpmdb;
magic_*;
local:
file_*;
db_*;
*;
};
I've put a copy of ther file at
ftp://wraptastic.org/pub/jbj/librprmmisc.vers
Thank you for your great effort on this package manager.
;-) Thanks!
Best regards,
Andrey Falko
P.S. Here is some info about my setup in case it is relevant:
gcc version 4.1.2 (Gentoo 4.1.2)
popt-1.10.7
popt-1.10.7 is gud enuf, but popt-1.13 is likely on a release path
this week too.
73 de Jeff
beecrypt-4.1.2
perl-5.8.8