Problem building cyrus-sasl-2.1.10-1.src.rpm

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

 



Not sure if this is the right list, if not please excuse me and point me
to the right place.

I'm trying to just rebuild cyrus-sasl-2.1.10-1.src.rpm.  Ultimately I'm
going to change some options, but for now I just want it to build.  I'm
building on a fresh 8.0 installation, all of the cyrus-sasl
prerequisites are installed.  When I run "rpmbuild -ba cyrus-sasl.spec",
I get the following output.  I got cyrus-sasl-2.1.10-1.src.rpm from the
RedHat updates directory on their ftp server.

I assume this is just a missing -ldb-4.0 on the gcc command line for
client.  But I would have thought this would build without me doing any
hacks to the .spec file or configure.

Any ideas?  Has anyone gotten this to build?

Thanks in advance.

----------------------------
...
mkdir .libs
gcc -Wall -W -Wall -O2 -march=i386 -mcpu=i686 -Wl,-rpath
-Wl,/usr/local/lib -o client client.o common.o  -L/usr/local/lib
-L/usr/kerberos/lib ../lib/.libs/libsasl2.a -ldl -lcrypto -lgssapi_krb5
-lkrb5 -lk5crypto -lcom_err -lresolv -lcrypt
../lib/.libs/libsasl2.a(db_berkeley.o): In function `berkeleydb_open':
db_berkeley.o(.text+0x5a): undefined reference to `db_create'
db_berkeley.o(.text+0x79): undefined reference to `db_strerror'
../lib/.libs/libsasl2.a(db_berkeley.o): In function `berkeleydb_close':
db_berkeley.o(.text+0x1a6): undefined reference to `db_strerror'
../lib/.libs/libsasl2.a(db_berkeley.o): In function `_sasldb_getdata':
db_berkeley.o(.text+0x39f): undefined reference to `db_strerror'
../lib/.libs/libsasl2.a(db_berkeley.o): In function `_sasldb_putdata':
db_berkeley.o(.text+0x60a): undefined reference to `db_strerror'
db_berkeley.o(.text+0x67e): undefined reference to `db_strerror'
collect2: ld returned 1 exit status
make[2]: *** [client] Error 1
make[2]: Leaving directory
`/usr/src/redhat/BUILD/cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/sample'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/src/redhat/BUILD/cyrus-sasl-2.1.10/cyrus-sasl-2.1.10'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.16585 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.16585 (%build)



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux