RE: Cyrus not compiling.. any ideas?

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

 



I'd like to clarify this...was up late.

>The problem you are having is with the Linker.  It can't find certain
references because either a library is not found >(thus you are missing
a
>dependency) that the files are referencing, or you have not configured
it correctly, and it has not compiled a certain module for one reason or
another.

Notice I said had not compiled a file (module) for one reason or
another.  That isn't exactly so...I should follow what I wrote later
about

>Maybe you need to use another configure switch like
--with-somelibname-dir=/usr/local/someprogram/lib

So what I should have written was simply a library hadn't been found for
one reason or another and left it at that.

And now the reason I was writing you a little more......
I also meant to tell you that if you search all of the #include files in
the cyrusdb_db3.c file you will probably find those variable names.
Once you do that then you should be able to almost certainly tell what
library it is you are missing in your libs.

Wade

-----Original Message-----
From: redhat-list-admin@xxxxxxxxxx [mailto:redhat-list-admin@xxxxxxxxxx]
On Behalf Of Wade Chandler
Sent: Wednesday, October 29, 2003 6:59 AM
To: redhat-list@xxxxxxxxxx
Subject: RE: Cyrus not compiling.. any ideas?


The problem you are having is with the Linker.  It can't find certain
references because either a library is not found (thus you are missing a
dependency) that the files are referencing, or you have not configured
it correctly, and it has not compiled a certain module for one reason or
another.  I haven't compiled that specific application before, but if
you don't want to install an rpm you will probably have better luck on
the projects web site and mailing lists.  Maybe find a developers
mailing list.  It appears your c files compiled fine, which means you
obviously have the header files, but your libs are not there.  Maybe you
need to use another configure switch like
--with-somelibname-dir=/usr/local/someprogram/lib or
/home/username/pathtosomelibdiryoudownloaded/lib  many times this is the
case, but other than that.  That is the best I can do for you without
building it other than this.

1) This next line is going to link all of these object files together
into your output program name imapd
gcc -L/usr/local/lib -Wl,-rpath,/usr/local/lib  -Wall -g -O2   -o imapd
\
 ../master/service.o pushstats.o backend.o imapd.o index.o tls.o
version.o libimap.a ../acap/libacap.a ../lib/libcyrus.a  
-lsasl2   -lssl -lcrypto   -lresolv   -ldb-4.0 ../et/libcom_err.a

2) lines like the next one are telling you about the problem
../lib/libcyrus.a(cyrusdb_db3.o)(.text+0x2fd): In function `mysync':
/home/downloads/cyrus-imapd-2.1.15/lib/cyrusdb_db3.c:240: undefined
reference to `txn_checkpoint'
../lib/libcyrus.a(cyrusdb_db3.o)(.text+0x3e6): In function `myarchive':
/home/downloads/cyrus-imapd-2.1.15/lib/cyrusdb_db3.c:270: undefined
reference to `log_archive'
../lib/libcyrus.a(cyrusdb_db3.o)(.text+0x467):/home/downloads/cyrus-imap
d-2.1.15/lib/cyrusdb_db3.c:291: undefined 
reference to `log_archive'
../lib/libcyrus.a(cyrusdb_db3.o)(.text+0x4f7):/home/downloads/cyrus-imap
d-2.1.15/lib/cyrusdb_db3.c:319: undefined 
reference to `log_archive'
../lib/libcyrus.a(cyrusdb_db3.o)(.text+0x831): In function `gettid':
/home/downloads/cyrus-imapd-2.1.15/lib/cyrusdb_db3.c:403: undefined
reference to `txn_id'
../lib/libcyrus.a(cyrusdb_db3.o)(.text+0x845):/home/downloads/cyrus-imap
d-2.1.15/lib/cyrusdb_db3.c:406: undefined 
reference to `txn_id'
../lib/libcyrus.a(cyrusdb_db3.o)(.text+0x8cd):/home/downloads/cyrus-imap
d-2.1.15/lib/cyrusdb_db3.c:416: undefined 
reference to `txn_id'

3) You can look in /home/downloads/cyrus-imapd-2.1.15/lib/cyrusdb_db3.c
and more than likely find txn_id, log_archive, myarchive, or mysync in
one of the header files.  Just by looking at the variable names and the
file name txn_id (transaction id), log archive is clear enough,
"my"archive, and "my"sync, and cyrus_"db"_"db3".c  I would assume that
the problem is a database library is not found.  The "my"'s make me
think about mysql and the db3 makes me think about Berkley DB version 3.
Hope that helps you.


Wade

-----Original Message-----
From: redhat-list-admin@xxxxxxxxxx [mailto:redhat-list-admin@xxxxxxxxxx]
On Behalf Of Tapang, Roderick (GXS)
Sent: Wednesday, October 29, 2003 1:12 AM
To: redhat-list@xxxxxxxxxx
Subject: RE: Cyrus not compiling.. any ideas?


>-----Original Message-----
>From: Kelerion [mailto:kelerion@xxxxxxxxxxxxxxxx]
>Sent: Tuesday, October 28, 2003 11:24 AM
>To: redhat-list@xxxxxxxxxx
>Subject: OT: Cyrus not compiling.. any ideas?
>
>
>Hey all..
>
>Am just messing around with installing Cyrus.. have finally got all 
>it's requirements (I think) installed so it's got through the
>./configure but
>the make is running into problems..
>
>The error is at: http://www.8010.info/error.txt
>
>Can anyone spot any obvious problems?

i can't help on that one. but have u tried checking the
rpm repository?

http://www.invoca.ch/pub/packages/cyrus-imapd/

hth.


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux