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

haggle fails to compile on a 64-bit machine #26

Open
GoogleCodeExporter opened this issue Aug 29, 2015 · 2 comments
Open

haggle fails to compile on a 64-bit machine #26

GoogleCodeExporter opened this issue Aug 29, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. run './configure --prefix=/usr --disable-debug
2. run 'make'
3. libtool error for libsqlite3 and libxml2. below is a snippet of the error:

libtool: link: g++ -Wall -fno-rtti -O2 -DHAVE_EXCEPTION=1 -Wall -fno-rtti -O2 
-o haggle haggle-main.o  -L../utils/ -L../libcpphaggle -lhaggleutils 
-lcpphaggle -lm /usr/lib/libxml2.so -lcrypto -ldbus-1 -lrt 
/usr/lib/libsqlite3.so -ldl -lpthread libhagglekernel.a 
../../src/utils/libhaggleutils.a ../../src/libcpphaggle/libcpphaggle.a
libhagglekernel.a(libhagglekernel_a-SQLDataStore.o): In function 
`dumpTable(_xmlNode*, sqlite3*, char const*)':
SQLDataStore.cpp:(.text+0xab): undefined reference to `sqlite3_prepare_v2'
SQLDataStore.cpp:(.text+0xca): undefined reference to `xmlNewNode'


What is the expected output? What do you see instead?
output should be 'haggle' binary.  what I get is link error stating it can't 
find libsqlite3 and libxml2.

What version of the product are you using? On what operating system?
haggle v0.4
Ubuntu 11.10 (64-bit)
sqlite3 3.7.11
libxml 2.7.8


Please provide any additional information below.
I checked to make sure locations of libsqlite3 and libxml2 were correct. The 
snippet above does show the correct location for both libraries. I don't know 
linkage is failing with "undefined reference" when clearly the libraries are 
where they're suppose to be.  Any advice would be helpful.  Need to get it 
working on a 64-bit machine.

Original issue reported on code.google.com by theodoro...@saic.com on 4 Apr 2012 at 12:23

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

libxml 2.7.8 should say libxml2 2.7.8

Original comment by theodoro...@saic.com on 6 Apr 2012 at 11:44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant