This is an embarrassing question to ask about software that I wrote, but
here it is.  I've been poking around with the sks code trying to get it to
compile on a reasonably modern system, and having some real trouble getting
it up.  I'm trying to build on a 64-bit centos 5 box using OCaml 3.10.2, and
I'm wondering if anyone has run into the same problems I'm seeing.  When I
try to build, I get the errors shown below.

Thanks,
y

ocamlopt -thread -o sks -I lib -I bdb -ccopt -L/home/\
yminsky/local/lib -ccopt -Lbdb -dtypes -inline 40 unix.cmxa str.cmxa
bdb.cmxa nums.cmxa bi\
garray.cmxa cryptokit.cmxa  crc.o pSet.cmx pMap.cmx utils.cmx heap.cmx
mList.cmx mTimer.cm\
x mArray.cmx settings.cmx pstyle.cmx getfileopts.cmx common.cmx channel.cmx
eventloop.cmx \
ehandlers.cmx bitstring.cmx meteredChannel.cmx number.cmx prime.cmx zZp.cmx
rMisc.cmx line\
arAlg.cmx poly.cmx decode.cmx fqueue.cmx prefixTree.cmx msgContainer.cmx
nbMsgContainer.cm\
x cMarshal.cmx reconMessages.cmx server.cmx client.cmx reconCS.cmx
number_test.cmx decode_\
test.cmx poly_test.cmx packet.cmx parsePGP.cmx sStream.cmx bdbwrap.cmx
key.cmx keyHash.cmx\
 keyMerge.cmx fixkey.cmx fingerprint.cmx keydb.cmx armor.cmx dbMessages.cmx
htmlTemplates.\
cmx wserver.cmx membership.cmx tester.cmx request.cmx index.cmx mRindex.cmx
pTreeDB.cmx se\
ndmail.cmx recvmail.cmx mailsync.cmx stats.cmx clean_keydb.cmx build.cmx
fastbuild.cmx pbu\
ild.cmx merge_keyfiles.cmx sksdump.cmx incdump.cmx dbserver.cmx
reconComm.cmx recoverList.\
cmx catchup.cmx reconserver.cmx update_subkeys.cmx sks_do.cmx unit_tests.cmx
sks.cmx
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for
-lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for
-lz
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for
-lm
/usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for
-lm
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for
-ldl
/usr/bin/ld: skipping incompatible /usr/lib/libdl.a when searching for
-ldl
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for
-lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for
-lc
/home/yminsky/local/lib/libdb-4.1.so: undefined reference to
`pthread_mutex_trylock'
/home/yminsky/local/lib/libdb-4.1.so: undefined reference to
`pthread_mutexattr_setpshared\
'

/home/yminsky/local/lib/libdb-4.1.so: undefined reference to
`pthread_mutexattr_destroy'
/home/yminsky/local/lib/libdb-4.1.so: undefined reference to
`pthread_condattr_setpshared'
/home/yminsky/local/lib/libdb-4.1.so: undefined reference to
`pthread_mutexattr_init'
collect2: ld returned 1 exit
status
Error during linking
_______________________________________________
Sks-devel mailing list
Sks-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/sks-devel

Reply via email to