lpsymphony will not build
1
0
Entering edit mode
caldodge ▴ 20
@caldodge-20681
Last seen 5.6 years ago

IHW requires lpsymphony as a dependency. I cannot get lpsymphony to build, either as part of an R install of IHW, or manually using the lpsymphony tarball. The result of my attempt is typically the following:

Error: package or namespace load failed for ‘lpsymphony’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/home/cdx8426/R/x8664-pc-linux-gnu-library/3.5/lpsymphony/libs/lpsymphony.so': /home/cdx8426/R/x8664-pc-linux-gnu-library/3.5/lpsymphony/libs/lpsymphony.so: undefined symbol: ompgetthread_num Error: loading failed

This is on an RHEL 7.5 system, using R 3.5.1 (built from source), and gcc 6.4.0. I got similar results on a Fedora 29 system.

Is there some unstated dependency needed to build lpsymphony? What other information do you need/

ihw • 1.4k views
ADD COMMENT
0
Entering edit mode

I would suggest capturing the whole output from the installation to help others with debugging this. It's probably quite long for the installation of lpsymphony so maybe post it to https://pastebin.com and provide the link, otherwise you'll hit the character limit on this forum.

It might be related to the issues seen in https://support.bioconductor.org/p/120529 (similar symptons, different packages) but that's probably just be a coincidence.

ADD REPLY
0
Entering edit mode

Thanks, Mike. The Pastebin URL is https://pastebin.com/B9QfXAeX

Interestingly, we recently installed R 3.6.0, too, and lpsymphony installed there without incident.

ADD REPLY
2
Entering edit mode
caldodge ▴ 20
@caldodge-20681
Last seen 5.6 years ago

I found the solution. The clue was that it worked with the 3.6.0 version I built. In comparing the two versions, I realized that 3.5.1 had not been built with the "--enable-R-shlib" option. I rebuilt 3.5.1 with that option, and lpsymphony built and installed without a hitch.

ADD COMMENT

Login before adding your answer.

Traffic: 422 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6