Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The ordinal 4540 could not be located in the dynamic link library LIBEAY32.dll. #122

Closed
sigod opened this issue Oct 30, 2012 · 4 comments
Closed

Comments

@sigod
Copy link
Contributor

sigod commented Oct 30, 2012

When I try to run any example I get the error message showed above.

@simendsjo
Copy link
Contributor

I'm not on windows right now, but my guess is that the wrong version of libeay32.dll is picked up. A common source of this error is that you have some program in your PATH, and windows loads that one instead of the verision you want. Search for the file, and modify your PATH or put the correct version in the same folder as your executable.

@sigod
Copy link
Contributor Author

sigod commented Oct 30, 2012

@simendsjo, you are right. This is because of c:\Program Files\D\dmd2\windows\bin\ string in PATH.

When I use dirty solution - just replace c:\Program Files\D\dmd2\windows\bin\libeay32.dll - I get the following error.

core.exception.AssertError@vibe.stream.stream(84): Assertion failure
----------------
0x004C7788 in char[][] core.sys.windows.stacktrace.StackTrace.trace()
0x004C7613 in core.sys.windows.stacktrace.StackTrace core.sys.windows.stacktrace.StackTrace.__ctor()
0x004AE603 in onAssertError
0x00441E45 in void vibe.stream.stream.readUntil(vibe.stream.stream.InputStream, vibe.stream.stream.OutputStream, const(ubyte[]), ulong) at d:\sigod\dev\vibe.d\source\vibe\stream\stream.d(85)
0x00441DA4 in ubyte[] vibe.stream.stream.readUntil(vibe.stream.stream.InputStream, const(ubyte[]), uint, vibe.utils.memory.Allocator) at d:\sigod\dev\vibe.d\source\vibe\stream\stream.d(79)
0x00441D1B in ubyte[] vibe.stream.stream.readLine(vibe.stream.stream.InputStream, uint, immutable(char)[], vibe.utils.memory.Allocator) at d:\sigod\dev\vibe.d\source\vibe\stream\stream.d(35)
0x004036ED in _Dmain at d:\sigod\dev\vibe.d\examples\daytime\source\app.d(7)
0x00495798 in extern (C) int rt.dmain2.main(int, char**).void runMain()
0x004957D2 in extern (C) int rt.dmain2.main(int, char**).void runAll()
0x004953F4 in main
0x004CE291 in mainCRTStartup
0x774B3C45 in BaseThreadInitThunk
0x773837F5 in RtlInitializeExceptionChain
0x773837C8 in RtlInitializeExceptionChain
----------------

s-ludwig added a commit that referenced this issue Oct 30, 2012
@s-ludwig
Copy link
Member

That assertion was triggered by an invalid parameter in the daytime example. This is fixed now on master.

@sigod
Copy link
Contributor Author

sigod commented Oct 31, 2012

I fixed another bug in daytime example: #123

@sigod sigod closed this as completed Oct 31, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants