Build failure on Ubuntu 16.04

Install support for openEMS

Moderators: thorsten, sebastian

Post Reply
loacker
Posts: 2
Joined: Sat 25 Feb 2017, 08:19

Build failure on Ubuntu 16.04

Post by loacker » Sat 25 Feb 2017, 08:39

Hi

I am attempting to build Open EMS 0.35 on Ubuntu 16.04 with no luck.
Followed all the steps in the wiki and installed all the required packages, including libcgal-qt5-dev, but still the make fails.
Can anyone take a look at the attached log file and advice?

Thanks,
Oren
Attachments
build_20170225_082558.log
(99.09 KiB) Downloaded 371 times

thorsten
Posts: 1430
Joined: Mon 27 Jun 2011, 12:26

Re: Build failure on Ubuntu 16.04

Post by thorsten » Sat 25 Feb 2017, 15:37

Hi Oren,

I too use Ubuntu 16.04 and thus this should be the one distribution with the least problems... well it should...
The log says that your system library (/usr/lib/x86_64-linux-gnu/libpq.so.5) complains about missing SSL library. Very odd.
CSXCAD and openEMS did build fine, it was just the GUI tool AppCSXCAD that failed...
I do not spot an immediate solution.
I guess I need to setup a VM with a fresh Ubuntu and give it a try....
You use a normal Ubuntu 16.04(.02) as a 64 bit version?

regards
Thorsten

thorsten
Posts: 1430
Joined: Mon 27 Jun 2011, 12:26

Re: Build failure on Ubuntu 16.04

Post by thorsten » Sat 25 Feb 2017, 19:48

Well I just tried with a fresh Ubuntu 16.04.02 64bit. Everything worked fine...
I'm not sure why it fails on your system...
Can you give more details about your system?
Otherwise I would need to have a closer look at the log to see anything else that might cause this problem...

regards
Thorsten

loacker
Posts: 2
Joined: Sat 25 Feb 2017, 08:19

Re: Build failure on Ubuntu 16.04

Post by loacker » Mon 27 Feb 2017, 21:09

Hi thorsten, thanks for the quick reply.

Following your answer I managed to build openEMS successfully.
By running a google search on the missing SSL line in the log file (line number 1900), I found the error was due to additional libpq packages installed by anaconda (see here).
Removing the anaconda PATH from ~/.bashrc and restarting ubuntu solved the issue.

Gonna start playing with openEMS this weekend, should be fun!

Oren

Post Reply