Skip to content
New issue

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

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

Already on GitHub? # to your account

Mac Os Big Sur compile error. Undefined symbols for architecture x86_64 #637

Closed
kir486680 opened this issue Dec 18, 2020 · 5 comments
Closed

Comments

@kir486680
Copy link

kir486680 commented Dec 18, 2020

I am compiling Pangolin with the following commands: cmake .. -DBUILD_SHARED_LIBS=OFF and than cmake --build ..
However, i get the following error

[ 80%] Linking CXX executable VideoViewer
Undefined symbols for architecture x86_64:
  "_libintl_bind_textdomain_codeset", referenced from:
      _PyIntl_bind_textdomain_codeset in libpython3.8.a(_localemodule.o)
  "_libintl_bindtextdomain", referenced from:
      _PyIntl_bindtextdomain in libpython3.8.a(_localemodule.o)
  "_libintl_dcgettext", referenced from:
      _PyIntl_dcgettext in libpython3.8.a(_localemodule.o)
  "_libintl_dgettext", referenced from:
      _PyIntl_dgettext in libpython3.8.a(_localemodule.o)
  "_libintl_gettext", referenced from:
      _PyIntl_gettext in libpython3.8.a(_localemodule.o)
  "_libintl_setlocale", referenced from:
      _PyLocale_setlocale in libpython3.8.a(_localemodule.o)
      _PyLocale_localeconv in libpython3.8.a(_localemodule.o)
  "_libintl_textdomain", referenced from:
      _PyIntl_textdomain in libpython3.8.a(_localemodule.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [tools/VideoViewer/VideoViewer] Error 1
make[1]: *** [tools/VideoViewer/CMakeFiles/VideoViewer.dir/all] Error 2
make: *** [all] Error 2

Any clue how to solve it?

I am using MacOS Big Sur

@kir486680 kir486680 changed the title Undefined symbols for architecture x86_64: Mac Os Big Sur compile error. Undefined symbols for architecture x86_64 Dec 19, 2020
@kenmaro3
Copy link

@kir486680
hello, I am facing same compiling issues, if you could share the solution for this,
I would appreciate it. Thanks in advance.

@tommasocalo
Copy link

me too

@tommasocalo
Copy link

@kir486680
hello, I am facing same compiling issues, if you could share the solution for this,
I would appreciate it. Thanks in advance.

have you found a solution ?

@kenmaro3
Copy link

@tommasocalo FYI, after I struggled this, I tried https://github.com/uoip/pangolin this repo
and dealt with this error, uoip/pangolin#35, then built it.
however, segmentation fault as mentioned in uoip/pangolin#26

@patosai
Copy link

patosai commented Aug 29, 2021

I managed to build this repo by reinstalling brew. My guess is something in the gettext repo didn't like the OS X update. However after building, I'm still getting segmentation faults when the library is loaded.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants