libpq.dll: The specified module could not be found

libpq.dll: The specified module could not be found

andrew_e2
Not applicable
104 Views
5 Replies
Message 1 of 6

libpq.dll: The specified module could not be found

andrew_e2
Not applicable

[ FlexSim 21.0.3 ]

I am wondering if people are having this same problem in FlexSim 2021:

I have been able to connect to our PostgreSQL database just fine in earlier versions of FlexSim, but when I downloaded FlexSim 2021 I got this error when trying to connect:

Connection Failed with Error: libpq.dll: The specified module could not be found. pq.dll: The specified module could not be found.

Is this a bug in the newer version of FlexSim or did I somehow corrupt my dll file?

37564-1615322843528.png

0 Likes
Accepted solutions (1)
105 Views
5 Replies
Replies (5)
Message 2 of 6

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

I suggest you search the internet for “Connection Failed with Error: libpq.dll”.

If you can confirm that is related to “libeay32.dll”,because the openSSL library is loaded by the driver, then please search for this dll here at this answers.site again.

Message 3 of 6

joerg_vogel_HsH
Mentor
Mentor

if it worked with FlexSim20, then it has probably something to do with Product Roadmap Announcement.

0 Likes
Message 4 of 6

Ben_WilsonADSK
Community Manager
Community Manager

Hi @Andrew E2, was Jörg Vogel's answer helpful? If so, please click the red "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

Unfortunately we haven't seen or heard from anyone else having that error. Is there any more information you can provide? What have you tried so far?

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes
Message 5 of 6

andrew_e2
Not applicable

We figured out the problem. You have to edit environment variables and add C:\Program Files\FlexSim 2021\modules\Emulation\openssl to the system's PATH.

The error is actually a generic error and it is specifically looking for 2 dll files in the openssl file, libeay32.dll and ssleay32.dll. After adding the openssl file to the PATH it worked fine. This is an error that is new in FlexSim 2021 that we didn't see previously in FlexSim 2020 and earlier. @Ben Wilson, could this be automatically done on installation of FlexSim 2021?

Message 6 of 6

JordanLJohnson
Autodesk
Autodesk

We're adding a case to the dev list about this issue. Thanks for passing this information along, it's very helpful.

.


Jordan Johnson
Principal Software Engineer
>