Ask Your Question
0

Compiling tools using pcl fails during linking

asked 2014-06-17 09:25:23 -0500

a_stumpf gravatar image

Currently I'm trying to update our code base to be used with Ubuntu 14.04 LTS and indigo. When building a package which uses PCL I hit this issue:

/usr/bin/ld: /usr/local/lib/libqhull.a(mem.c.o)(.debug_info+0x701): unresolvable R_X86_64_64 relocation against symbol `qhmem' /usr/bin/ld: final link failed: Nonrepresentable section on output collect2: error: ld returned 1 exit status

It seems there is something fatally broken/mixed up with headers and the pre-compiled 32/64 bit libraries. Reinstalling the libqhull packages won't resolve this issue. So, has anybody an idea how to solve this?

Best wishes, Alex

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2015-01-14 10:36:34 -0500

romay gravatar image

Deleting /usr/local/lib/libqhull.a and doing

sudo apt-get --reinstall install libopencv-dev libpcl-1.7-all-dev ros-indigo-pcl-ros

clean your project and rebuild it.

Credit: David Conner

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-06-17 09:25:23 -0500

Seen: 232 times

Last updated: Jan 14 '15