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

openssl error when trying to build on Fedora 36 #31

Open
JoeBrown5555 opened this issue Nov 15, 2022 · 0 comments
Open

openssl error when trying to build on Fedora 36 #31

JoeBrown5555 opened this issue Nov 15, 2022 · 0 comments

Comments

@JoeBrown5555
Copy link

JoeBrown5555 commented Nov 15, 2022

Hello. First of all thank you for creating such a library.

I am trying to build this on Fedora 36. First I installed the libraries: libcurcl, openssl, and zlib. I did check that openssl is installed by typing "openssl" in a terminal and the list of help commands comes up.

Then I tried running the makefile in Release by opening a terminal in that directory and typing "make all". I get this output:

Building file: ../uWebSockets/Epoll.cpp
Invoking: GCC C++ Compiler
g++ -std=c++0x -DTHIS_EXPORTS_INTERFACE -O0 -g3 -Wall -c -fmessage-length=0 -DDEBUG -fPIC -MMD -MP -MF"uWebSockets/Epoll.d" -MT"uWebSockets/Epoll.o" -o "uWebSockets/Epoll.o" "../uWebSockets/Epoll.cpp"
Finished building: ../uWebSockets/Epoll.cpp

Building file: ../uWebSockets/Extensions.cpp
Invoking: GCC C++ Compiler
g++ -std=c++0x -DTHIS_EXPORTS_INTERFACE -O0 -g3 -Wall -c -fmessage-length=0 -DDEBUG -fPIC -MMD -MP -MF"uWebSockets/Extensions.d" -MT"uWebSockets/Extensions.o" -o "uWebSockets/Extensions.o" "../uWebSockets/Extensions.cpp"
Finished building: ../uWebSockets/Extensions.cpp

Building file: ../uWebSockets/Group.cpp
Invoking: GCC C++ Compiler
g++ -std=c++0x -DTHIS_EXPORTS_INTERFACE -O0 -g3 -Wall -c -fmessage-length=0 -DDEBUG -fPIC -MMD -MP -MF"uWebSockets/Group.d" -MT"uWebSockets/Group.o" -o "uWebSockets/Group.o" "../uWebSockets/Group.cpp"
In file included from ../uWebSockets/WebSocketProtocol.h:5,
from ../uWebSockets/WebSocket.h:4,
from ../uWebSockets/Group.h:4,
from ../uWebSockets/Group.cpp:1:
../uWebSockets/Networking.h:7:10: fatal error: openssl/opensslv.h: No such file or directory
7 | #include <openssl/opensslv.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.

The issue being "fatal error: openssl/opensslv.h: No such file or directory". Just in case I also tried running the makefile in Release2, and got this output:

Building file: ../src/execute/execute.cpp
Invoking: GCC C++ Compiler
g++ -std=c++0x -DTHIS_EXPORTS_INTERFACE -DNDEBUG -O3 -Wall -c -fmessage-length=0 -fPIC -MMD -MP -MF"src/execute/execute.d" -MT"src/execute/execute.o" -o "src/execute/execute.o" "../src/execute/execute.cpp"
In file included from ../src/execute/../../include/_tdma_api.h:31,
from ../src/execute/execute.cpp:19:
../src/execute/../../include/curl_connect.h:30:10: fatal error: curl/curl.h: No such file or directory
30 | #include "curl/curl.h"
| ^~~~~~~~~~~~~
compilation terminated.
make: *** [makefile:31: src/execute/execute.o] Error 1

This issue being "fatal error: curl/curl.h: No such file or directory". I also checked that curl is installed by typing "curl" in the terminal, and the help commands come up. Any advice on how to make it happy? Are the libraries installed in the wrong place? Also I am running this build from where it unzipped the TDAmeritradeAPI folder in my Downloads directory. Am I supposed to move it somewhere else, or is it OK to run it from there?

Any help would be much appreciated!

-Joe

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

1 participant