[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sendmail
Subject:    Re: Compiling sendmail-8.12.6 with db4.1.24
From:       dontrango <dontrango () myrealbox ! com>
Date:       2002-10-31 9:26:44
[Download RAW message or body]


Thanks for pointing out the incompatibility issue.

1st problem is solved by setting up LD_LIBRARY_PATH=/dbDIR/lib

gerryt@gtconnect.net wrote:

> In article
> <Pine.WNT.4.44.0210301916510.-117661297-100000@patagonia.pacific.net.sg>,
> Donny Cornelius <donnycornelius@pacific.net.sg> writes:
>> 
>> Hi,
>> I have a problem during the compilation:
>> issuing: sh Build -I/dbDIR/include -L/dbDIR/lib:
> 
> Use devtools/Site/site.config.m4 instead.
> Example contents:
> APPENDDEF(`confLIBDIRS', `-L/usr/local/BerkeleyDB/lib')
> APPENDDEF(`confINCDIRS', `-I/usr/local/BerkeleyDB/include')
> 
>> libsm.a   -ldb -lresolv -lsocket -lnsl
>> ============================================================
>> ./t-event
>> ld.so.1: ./t-event: fatal: libdb-4.1.so: open failed: No such file or
>> directory
> 
> You probably didnt compile libdb-4.1.so properly so that the run time
> linker knows where it is. Read: man ld.so.1 and man crle.
> 
>> smdb2.c: In function `smdb_db_open_internal':
>> smdb2.c:526: warning: passing arg 2 of pointer to function from
>> incompatible pointer type
>> smdb2.c:526: incompatible type for argument 4 of indirect function call
>> smdb2.c:526: too few arguments to function
>> make[1]: *** [smdb2.o] Error 1
>> make[1]: Leaving directory
>> `/usr/local/src/sendmail-8.12.6/obj.SunOS.5.8.sun4/libsmdb'
> 
> libdb-4.1 isnt supported yet. It MAY be by 8.12.7 but dont count on it.
> Use 4.0 or 3.3 instead for now.
> The older stuff is harder to find at SleepyCat but it is there.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic