ex_dtls won't compile

I'm sure this is a me issue, but I'm stumped. I've got a membrane project that worked on a different computer. Both are Macs Running mix deps.compile throws an error: ld: library 'ssl' not found clang: error: linker command failed with exit code 1 (use -v to see invocation) could not compile dependency :ex_dtls, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile ex_dtls --force", update it with "mix deps.update ex_dtls" or clean it with "mix deps.clean ex_dtls" I've got openssl@3 installed via homebrew, and have the following env variables set export LDFLAGS="-L${BREW_CELLAR}/openssl@3/${OPENSSL_VERSION}/lib" export CFLAGS="-I${BREW_CELLAR}/openssl@3/${OPENSSL_VERSION}/include/" export CPPFLAGS="-I${BREW_CELLAR}/openssl@3/${OPENSSL_VERSION}/include/" What am I missing? Does ex_dtls actually need openssl@1.1 instead? Thanks for the help.
T
TonyLikeSocks21d ago
No idea why this worked, but export LIBRARY_PATH:/opt/homebrew/Cellar/openssl@3/3.3.0/lib Fixed it. That env variable isn't set on my other mac, so I'm puzzled as to why that worked.
M
mickel821d ago
ExDTLS should try to look for openssl.pc file. There are specified all needed paths like INCLUDE_DIR, etc. Can you make sure your openssl.pc is in searchable by pkg_config? Then, you shouldn't need any of LDFLAGS, CFLAGS, CPPFLAGS and LIBRARY_PATH
T
TonyLikeSocks19d ago
so making sure that LIBRARY_PATH is unset first, when I run:
pkg-config --cflags --libs openssl
-I/opt/homebrew/Cellar/openssl@3/3.3.0/include -L/opt/homebrew/Cellar/openssl@3/3.3.0 -lssl -lcrypto
pkg-config --cflags --libs openssl
-I/opt/homebrew/Cellar/openssl@3/3.3.0/include -L/opt/homebrew/Cellar/openssl@3/3.3.0 -lssl -lcrypto
Seems like it should work without the library path hack. 🤷‍♂️ I'm sure this is something with my system. It's odd; new mac, was just getting everything setup and moved over.
Want results from more Discord servers?
Add your server
More Posts
terminate part of pipeline childrenhi, I have the following: ParticipantPipeline with multiple children: - :vr_publisher - :vr_subscribex_dtls NIF crash when starting server``` root@908001db526468:/app/bin# ./passion_fruit start =ERROR REPORT==== 12-Apr-2024::09:51:36.5658Dynamically starting children to Demux Mp4 tracksI want to convert this to take arbitrary user uploaded Mp4 files where the tracks can have differentH264.FFmpeg.Decoded frames to MP4.MuxerI'm attempting to open a local mp4, demux it, and write it back to an mp4, just to get started. I waWiring up Javascript FE Using membrane-webrtc-jsSorry if this obvious. I'm looking through the example in the membrane_rtc_engine (link below). It'sFilter with `push` flow_controlHello, I have a filter that transcribes audio as it receives it by sending it to a transcription serLL-HLS broadcastingHello everyone! I am trying to make LL-HLS broadcasting work. I used the demo from webrtc_to_hls aPipeline children started twiceHello, I'm seeing children in a Membrane pipeline get started twice: I think this might be an issuWriting a `Bin` queuing content from multiple remote files@skillet wrote in https://discord.com/channels/464786597288738816/1007192081107791902/12244914186265Split audio file into 20mb chunksIm trying to figure out how to take the file at this URL, and send it to OpenAI in chunks of 20mb: hbundlex nifs and libasanIs it anyone build nifs with libasan support? Even if I put compiler_flags ["-fno-omit-frame-pointerunifex seg fault on handle_destroy_stateHi, i'm implementing g772.1 decoder/encoder plugin and have issue with handle_destroy state. I've ta