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

autogen error #210

Closed
SmileGobo opened this issue Nov 15, 2015 · 7 comments
Closed

autogen error #210

SmileGobo opened this issue Nov 15, 2015 · 7 comments

Comments

@SmileGobo
Copy link

@SmileGobo SmileGobo commented Nov 15, 2015

configure.ac:187: error: possibly undefined macro: LT_SYS_SYMBOL_USCORE

@berkerpeksag
Copy link
Contributor

@berkerpeksag berkerpeksag commented Mar 5, 2016

Installing the libltdl-dev package on my Ubuntu 12.04 system solved the problem for me:

$ sudo apt-get install libltdl-dev

Perhaps this could be added to README or to a new "troubleshooting" page at https://github.com/atgreen/libffi/wiki

@berkerpeksag
Copy link
Contributor

@berkerpeksag berkerpeksag commented Jun 4, 2016

@tromey what do you think about adding a troubleshooting page to https://github.com/libffi/libffi/wiki and linking it in README?

@tromey
Copy link
Member

@tromey tromey commented Jun 5, 2016

It would be fine with me, though I think probably README should just describe the requirements directly.

@purifier1990
Copy link

@purifier1990 purifier1990 commented Apr 27, 2017

I want to know if meeting the same issue on macOS, what should I do to fix it?

configure.ac:450: error: possibly undefined macro: LT_SYS_SYMBOL_USCORE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.

I'm using 3.2.1, which fixed the link error for mac, quoted from release note.(Can't be verified since it failed at configure step)

@tromey
Copy link
Member

@tromey tromey commented May 8, 2017

@purifier1990 do you have the libltdl development package installed? It is part of libtool. This is where the LT_ autoconf macros come from.

@tduehr
Copy link

@tduehr tduehr commented Jul 12, 2017

It seems this comes up mostly when cross compiling libffi for another platform, at least for windows.

Ran across it in ffi/ffi#577

@atgreen
Copy link
Member

@atgreen atgreen commented Mar 27, 2018

I'm going to close this. The libffi source distributions (output of "make dist") include the libtool macros. It's just if you want to build from git sources you need to know to install autoconf/automake/libtool. This seems OK.

Please re-open if you disagree.

Thanks!

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

6 participants