[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Port conflict: security/dsniff vs databases/db
On Thu, 31 May 2001, Phil Pennock wrote:
> cc -o dsniff asn1.o base64.o buf.o hex.o magic.o mount.o pcaputil.o
> rpc.o tcp_raw.o trigger.o record.o dsniff.o decode.o decode_aim.o
> decode_citrix.o decode_cvs.o decode_ftp.o decode_hex.o decode_http.o
> decode_icq.o decode_imap.o decode_irc.o decode_ldap.o decode_mmxp.o
> decode_mountd.o decode_napster.o decode_nntp.o decode_oracle.o
> decode_ospf.o decode_pcanywhere.o decode_pop.o decode_portmap.o
> decode_postgresql.o decode_pptp.o decode_rip.o decode_rlogin.o
> decode_smb.o decode_smtp.o decode_sniffer.o decode_snmp.o decode_socks.o
> decode_tds.o decode_telnet.o decode_vrrp.o decode_yp.o decode_x11.o
> -lresolv -lrpcsvc -L. -lmissing -L/usr/local/lib -lnids -lpcap
> -L/usr/local/lib -lnet -L/usr/local/lib -ldb -lssl -lcrypto
> ld: -ldb: no match
Actually, "-ldb" should be the old 1.85 Berkeley DB library that's
bundled with libc, I think?
> -----------------------------< cut here >-------------------------------
> Adding /usr/local/lib/libdb-3.1.so.0.0
> Adding /usr/local/lib/libdb_cxx-3.1.so.0.0
> -----------------------------< cut here >-------------------------------
I link against -ldb3 or -ldb-3.2 at the moment. It's definitely a hack,
although it's a hack from Sleepycat.
I sent a proposed patch to update Sleepycat DB to 3.2.9 earlier to
ports@, while no-one commented on it except that the Java port isn't
even supposed to work (which is reasonable because I focused on Java
in my mail); while the Java port is broken, for me the patch
works. Note that you need to apply it with the -p1 flag to patch,
while usually things are patched with -p0.
http://saitti.net/~heko/experimental/db-3.1.7-to-3.2.9.patch-p1
http://saitti.net/~heko/experimental/db.tar.gz
I'm bound to have messed up something even with this small fix, but
you have to start somewhere, and I did try to look hard at it and
even squint. Time will improve matters, I'm sure.
<---------------------------------------------------------------------->
Heikki Korpela -- heko@saitti.net