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

Comments

Projects
None yet
6 participants
@SmileGobo
Copy link

commented Nov 15, 2015

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

@berkerpeksag

This comment has been minimized.

Copy link
Contributor

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

This comment has been minimized.

Copy link
Contributor

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

This comment has been minimized.

Copy link
Member

commented Jun 5, 2016

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

@purifier1990

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link
Member

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

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link
Member

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
You can’t perform that action at this time.