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

3.7-current and libc.so



I updated my cvs last night (from 3.7-current already) and built
world...things went fine.

Today however, I attempted to compile Sendmail 8.13.4 from src..(for testing some milters) and while it seemed to compile, it failed to start:

# sendmail -bd -q15m

sendmail:/usr/lib/libc.so.35.0: sendmail : WARNING: symbol(_res) size
mismatch, relink your program
sendmail:sendmail: /usr/lib/libc.so.35.0 : WARNING: symbol(_res) size
mismatch, relink your program

So I looked at what ldd says:

# ldd sendmail
sendmail:
        Start    End      Type Ref Name
        00000000 00000000 exe   1  sendmail
        0aea5000 2aeab000 rlib  1  /usr/local/lib/libsasl2.so.2.20
        01fc0000 21fcb000 rlib  1  /usr/lib/libssl.so.9.0
        09d08000 29d38000 rlib  1  /usr/lib/libcrypto.so.11.0
        08738000 2874e000 rlib  1  /usr/local/BerkeleyDB.4.3/lib/libdb.so
        010b0000 210e7000 rlib  1  /usr/lib/libc.so.35.0
        0bbca000 2bc01000 rlib  1  /usr/lib/libc.so.34.2
        09318000 09318000 rtld  1  /usr/libexec/ld.so

Humm...2 different versions of libc.so?

I then removed libc.so.34.2 and symlinked it to libc.so.35.0
and then 'ldconfig -R' and then rebuilt sendmail. It now starts fine and no longer shows ldd against 34.2 ...


My question here is...is this normal? - should the old library have been removed or something? if I move it out of the way, ldd wont work (and who knows what else)

I realize building custom sendmail is not supported by this list, but this build that failed might affect something else with 2 versions of libc.so around..so I wanted to ask...




-- J.D. Bronson Aurora Health Care // Information Services // Milwaukee, WI USA Office: 414.978.8282 // Email: jd_(_at_)_aurora_(_dot_)_org // Pager: 414.314.8282



Visit your host, monkey.org