Print

Print


Jacek,

> Things are now failing to link because of md5:
>
> g++ -o bld/proto/testProtocol bld/proto/testProtocol.o
> -L/home/becla/cssProto/lib/mysql -L/home/becla/cssProto/lib
> -L/home/becla/cssProto/lib -lprotobuf -lssl
> bld/proto/TaskMsgDigest.cc.staticobj bld/proto/worker.pb.os
> bld/proto/TaskMsgDigest.cc.staticobj: In function
> `lsst::qserv::hashTaskMsg(lsst::qserv::TaskMsg const&)':
> TaskMsgDigest.cc:(.text+0x6e): undefined reference to `MD5'
> collect2: ld returned 1 exit status
You might try linking with libcrypto as well. (-lcrypto), but RHEL6 
doesn't seem to need it:

g++ -o bld2/proto/testProtocol bld2/proto/testProtocol.o 
-L/u1/local/lib/mysql -L/u1/local/lib -L/u1/lsst/xrootd-inst/lib64 
-lprotobuf -lssl bld2/proto/TaskMsgDigest.cc.staticobj 
bld2/proto/worker.pb.os

works fine without any problem.  It might just be a difference in how 
redhat and debian decide to do the packaging (which wouldn't be surprising).


-Daniel

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the QSERV-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1