# Compile OpenMPI with PBSpro 14.1.10

**URL:** <https://community.openpbs.org/t/compile-openmpi-with-pbspro-14-1-10/159>\
**Category:** Users/Site Administrators\
**Created:** [July 14, 2016, 6:43pm UTC](https://community.openpbs.org/t/compile-openmpi-with-pbspro-14-1-10/159 "2016-07-14T18:43:51Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![cheealtair](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@cheealtair](https://community.openpbs.org/u/cheealtair)\
**Post date:** [May 12, 2017, 4:57am UTC](https://community.openpbs.org/t/compile-openmpi-with-pbspro-14-1-10/159/13 "2017-05-12T04:57:18Z")

</div>

> [@richardl](#):
>
> checking for library containing tm\_init… no  
> looking for library in lib64  
> checking for library containing tm\_init… no  
> looking for library in lib  
> checking for library containing tm\_init… no  
> looking for library in lib64  
> checking for library containing tm\_init… no  
> configure: error: TM support requested but not found. Aborting

In addition to the pbs-config and the LDFLAGS / LD\_LIBRARY\_PATH above, the error about “TM support requested but not found” can still occur.

Looking in the config.log will show:

configure:6266: gcc -L/opt/pbs/lib -lpbs -lpthread -lcrypto conftest.c \>&5  
/usr/bin/ld: cannot find -lcrypto  
collect2: error: ld returned 1 exit status

The solution to this is to construct a symbolic link if libcrypto.so does not exist. (Thanks Alexis/Prasanna)  
Check the listing first:  
ls -al /usr/lib64/libcrypto\*  
19 May 12 13:43 /usr/lib64/libcrypto.so → libcrypto.so.1.0.1e  
1440448 Jun 24 2014 /usr/lib64/libcrypto.so.0.9.8e  
19 Aug 20 2016 /usr/lib64/libcrypto.so.10 → libcrypto.so.1.0.1e  
2017168 May 9 2016 /usr/lib64/libcrypto.so.1.0.1e  
19 May 27 2015 /usr/lib64/libcrypto.so.6 → libcrypto.so.0.9.8e

In ‘this’ case, create a symbolic link:  
cd /usr/lib64  
ln -s libcrypto.so.1.0.1e libcrypto.so

Then configure should work, followed by the remaining process:  
./configure --with-tm=/opt/pbs  
make  
make install

---

_[View the full topic](https://community.openpbs.org/t/compile-openmpi-with-pbspro-14-1-10/159)._
