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

dpkg-builpackage fails with libtool definition mismatch #2

Open
cure opened this issue Nov 28, 2011 · 2 comments
Open

dpkg-builpackage fails with libtool definition mismatch #2

cure opened this issue Nov 28, 2011 · 2 comments
Assignees

Comments

@cure
Copy link

cure commented Nov 28, 2011

....

configure: creating ./config.status
 /bin/bash ./config.status
config.status: creating Makefile
config.status: creating src/ght_hash_table.h
config.status: creating src/Makefile
config.status: creating examples/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
make[3]: Leaving directory `/usr/src/phreebird/deps/libghthash-0.6.2'
make[3]: Entering directory `/usr/src/phreebird/deps/libghthash-0.6.2'
(CDPATH="${ZSH_VERSION+.}:" && cd . && autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
/usr/bin/make  all-recursive
make[4]: Entering directory `/usr/src/phreebird/deps/libghthash-0.6.2'
Making all in src
make[5]: Entering directory `/usr/src/phreebird/deps/libghthash-0.6.2/src'
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -DNDEBUG -Wall -MT hash_table.lo -MD -MP -MF .deps/hash_table.Tpo -c -o hash_table.lo hash_table.c
libtool: Version mismatch error.  This is libtool 2.4, but the
libtool: definition of this LT_INIT comes from libtool 2.2.6b.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4
libtool: and run autoconf again.
make[5]: *** [hash_table.lo] Error 63
make[5]: Leaving directory `/usr/src/phreebird/deps/libghthash-0.6.2/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/src/phreebird/deps/libghthash-0.6.2'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/phreebird/deps/libghthash-0.6.2'
make[2]: *** [deps] Error 2
make[2]: Leaving directory `/usr/src/phreebird'
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/usr/src/phreebird'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
@ghost ghost assigned jas88 Nov 29, 2011
@jas88
Copy link
Owner

jas88 commented Nov 29, 2011

Thanks - I've hit a slightly different libtool issue on my own Debian test system, so I'll try to get a fix for both committed later this week.

@cure
Copy link
Author

cure commented Mar 25, 2012

For the record, here's how I worked around this problem:

cd deps/libghthash-0.6.2
autoreconf --force

Then add

ACLOCAL_AMFLAGS = -I m4

to Makefile.am

After this, the build issues are resolved.

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

2 participants