[lsst-dm-stack-users] undefined reference to crypt_r while building stack from master branch

Dominique Boutigny boutigny at in2p3.fr
Mon May 5 14:00:57 PDT 2014


Hi,

I get an undefined reference to crypt_r while building ctrl_events 
(master branch)

> :::::  c++ -o tests/EventSystem_1 '-Wl,--no-as-needed' -Wl,-rpath-link 
> -Wl,/home/boutigny/releases/stack_master/Linux64/pex_policy/8.0.0.0+0045ad11b7/lib:/home/boutigny/releases/stack_master/Linux64/base/8.0.0.0+ee2f9a34b2/lib:/home/boutigny/releases/stack_master/Linux64/activemqcpp/3.5.0+ebb455f130/lib:/home/boutigny/releases/stack_master/Linux64/apr_util/1.3.4+dc234bbfed/lib:/home/boutigny/releases/stack_master/Linux64/apr/1.3.3+da39a3ee5e/lib:/home/boutigny/Install/root/lib:/usr/local/lib:/home/boutigny/releases/stack_master/Linux64/boost/1.55.0.1+1f726fe9d2/lib:/home/boutigny/releases/stack_master/Linux64/pex_exceptions/8.0.0.0+194681581d/lib:/home/boutigny/releases/stack_master/Linux64/utils/8.0.0.0+148fa3ac40/lib:/home/boutigny/releases/stack_master/Linux64/daf_base/master-g52403476fa+6c6aeb111f/lib:/home/boutigny/releases/stack_master/Linux64/pex_logging/8.0.0.0+d78bf4f041/lib:/home/boutigny/releases/stack_master/Linux64/mysqlclient/5.1.65+da39a3ee5e/lib:/home/boutigny/releases/stack_master/Linux64/daf_persistence/master-gde766ea3be+db18872139/lib:/home/boutigny/releases/stack_master/build/ctrl_events/lib 
> tests/EventSystem_1.o -Llib 
> -L/home/boutigny/releases/stack_master/Linux64/daf_persistence/master-gde766ea3be+db18872139/lib 
> -L/home/boutigny/releases/stack_master/Linux64/mysqlclient/5.1.65+da39a3ee5e/lib 
> -L/home/boutigny/releases/stack_master/Linux64/pex_policy/8.0.0.0+0045ad11b7/lib 
> -L/home/boutigny/releases/stack_master/Linux64/pex_logging/8.0.0.0+d78bf4f041/lib 
> -L/home/boutigny/releases/stack_master/Linux64/daf_base/master-g52403476fa+6c6aeb111f/lib 
> -L/home/boutigny/releases/stack_master/Linux64/activemqcpp/3.5.0+ebb455f130/lib 
> -L/home/boutigny/releases/stack_master/Linux64/apr/1.3.3+da39a3ee5e/lib -L/home/boutigny/releases/stack_master/Linux64/utils/8.0.0.0+148fa3ac40/lib 
> -L/home/boutigny/releases/stack_master/Linux64/pex_exceptions/8.0.0.0+194681581d/lib 
> -L/home/boutigny/releases/stack_master/Linux64/base/8.0.0.0+ee2f9a34b2/lib 
> -L/home/boutigny/releases/stack_master/Linux64/boost/1.55.0.1+1f726fe9d2/lib 
> -L/home/boutigny/releases/stack_master/Linux64/anaconda/1.8.0/lib/python2.7/config 
> -lctrl_events -ldaf_persistence -lboost_serialization -lmysqlclient_r 
> -lpex_policy -lpex_logging -lboost_filesystem -lboost_system 
> -ldaf_base -lactivemq-cpp -lapr-1 -lutils -lpex_exceptions -lbase 
> -lboost_regex -lpthread -lboost_unit_test_framework
> ::::: 
> /home/boutigny/releases/stack_master/Linux64/activemqcpp/3.5.0+ebb455f130/lib/libactivemq-cpp.so: 
> undefined reference to `crypt_r'
> :::::  collect2: ld returned 1 exit status
> :::::  scons: *** [tests/EventSystem_1] Error 1
> :::::  scons: building terminated because of errors.

Looks like a missing "-lcrypt"

Any idea of what is causing this error ?

Dominique

-- 
Dominique Boutigny  -  CNRS / CC-IN2P3
Now at SLAC National Accelerator Laboratory

Kavli Building - 221
Mail     : boutigny at in2p3.fr -  boutigny at slac.stanford.edu
Office   : +1 650-926-5759   -  Cellular : +1 774-232-0912


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2936 bytes
Desc: Signature cryptographique S/MIME
URL: <https://listserv.lsstcorp.org/pipermail/dm-users/attachments/20140505/fe620bee/attachment.p7s>


More information about the dm-users mailing list