-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
FreeBSD system iconv- errors during linking #469
Comments
Hi @Parv Thanks. I cannot reproduce this problem at all. Is there any other steps I need to do to reproduce this? |
(Where are my manners?) I have added a cut down configure+make script which reliably fails. I am sorry for not providing this initially. |
Thanks, @Parv I see what's happening here. I'm going to switch It'll take me a little bit of time, but for now you can at least build |
Thank you @ThomasAdam for looking into this. I will keep any eye on the issue to report back on successful build with system iconv. |
I believe this fixed by the meson work in -git (what will be 1.1.1) |
Thanks for reporting your bug here! The following template will help with
giving as much information as possible so that it's easier to diagnose and
fix.
Upfront Information
Please provide the following information by running the command and providing
the output.
fvwm3 --version
)Does not apply as build fails.
fvwm source updated as of ...
commit ebe9655 (HEAD -> refs/heads/master, refs/remotes/origin/master, refs/remotes/origin/HEAD)
Author: Thomas Adam thomas@fvwm.org
Date: Mar.2021.0316-2305 +0000
Linux distribution or BSD name/version
FreeBSD 12-STABLE (stable/12-n232872-af0cea80104)
Platform (run:
uname -sp
)FreeBSD amd64
Expected Behaviour
Build would actually succeed with system iconv on FreeBSD 12.
Actual Behaviour
configure warns that it finds both system iconv and externally in libiconv ...
...
configure: WARNING: *** Both system iconv and libiconv found: use libiconv
configure: WARNING: *** Use --with-iconv-library=no to use the system iconv
...
A build succeeds with externally installed libiconv. But fails when trying to build
as suggested above during link time due to obviously missing symbols in system
iconv(3) ...
...
CCLD fvwm3
ld: error: undefined symbol: libiconv_open
... symbols actually available (from manual page of iconv(3)) are ...
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <iconv.h>
...
Either adjust linking for FreeBSD iconv.
Or, insist only on external libiconv and do not suggest how to use system iconv on FreeBSD 12.
Steps to Reproduce
How can the problem be reproduced? For this, the following is helpful:
On recent FreeBSD 12, see build fail with system iconv as suggested by configure with "--with-iconv-library=no" option.
Extra Information
Attached is the configure+build log.
make-fvwm3.2021-0321.freebsd-iconv-fail.txt
The text was updated successfully, but these errors were encountered: