-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Linking error when compiling with "--enable-debug" on OpenBSD 6.7 #5862
Comments
It looks like it didn't build/link with memdebug.o ? |
|
FYI: All tests compile fine on OpenBSD and memdebug is also used there |
Hi folks. This is most probably due to using the bundled libtool(1); you should use the OS provided one. $ make LIBTOOL=/usr/bin/libtool
<...>
$ ./src/curl --version
curl 7.73.0-DEV (x86_64-unknown-openbsd6.7) libcurl/7.73.0-DEV LibreSSL/3.2.1 zlib/1.2.3 libidn2/2.3.0 nghttp2/1.41.0
Release-Date: [unreleased]
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS Debug HTTP2 HTTPS-proxy IDN IPv6 Largefile libz NTLM NTLM_WB SSL TrackMemory UnixSockets GNU libtool is totally unmaintained as far as OpenBSD support is concerned. |
@ajacoutot Thanks, works now :-) I'm curious if we should add a note to the documentation, especially here |
Yeah, I'm just afraid nobody who'd run into this issue would look there for the answer. Maybe we could have the I'm curious though why libtool would cause a problem with the memdebug stuff like that. With a little more research into that we could possibly think of a way we could make it work without the system libtool trick. |
I did this
I expected the following
No linking errors
curl/libcurl version
259a815
operating system
OpenBSD openbsd.fritz.box 6.7 GENERIC#5 amd64
The text was updated successfully, but these errors were encountered: