hugin, libboost_thread.so not found

Rob Clark rpclark at tds.net
Sat Jun 22 07:28:51 UTC 2013


Cannot get hugin to work, 
I get the following:

$ hugin
/libexec/ld-elf.so.1: Shared object "libboost_thread.so"not
found, required by "hugin" 
$ 

The only reference I could find close to this
libboost_thread.so issue is on Greg Lehey's diary website,
http://www.lemis.com/grog/diary-jul2012.php?topics=c.

Greg states, 
"There are 9 libraries in that directory, and (not
surprisingly) hugin requires them all: 
...
ldd /dereel/usr/local/bin/hugin /dereel/usr/local/bin/hugin:
libhuginbase.so.0.0 => not found (0) libboost_thread.so =>
not found (0) 
(etc)

With some experimentation, discovered that
ldconfig didn't like the names, in particular the .0.0 at
the end. Change the name and it discovers them: ===
root at eureka (/dev/pts/13) /home/grog 11 ->
ln  /dereel/usr/local/lib/hugin//libhuginbase.so.0.0  /dereel/usr/local/lib/hugin/libhuginbase.so.0
=== root at eureka (/dev/pts/13) /home/grog 12 -> ldconfig
-32  -r /var/run/ld-elf32.so.hints: search
directories: /dereel/usr/local/lib/hugin/ 0:-lhuginbase.0
=> /dereel/usr/local/lib/hugin//libhuginbase.so.0

But that doesn't help, because the executable is still
looking for the version with .0.0 at the end. Is this a bug
or a feature? It's certainly a pain."

I think Greg's objective was more pointed at 64 bit
compatibility.  Mine on the other hand is just getting
hugin to work in my 32bit environment.  

My system:
FreeBSD 8.3-STABLE #1: Wed May 30 20:15:48 EDT 2012,
i386, with fluxbox window manager.

It appears I have the same 9 files referenced by Greg for
hugin.
# cd /usr/local/lib/hugin/ 
# ls
libceleste.so.0.0               libhuginvigraimpex.so.0.0
libflann_cpp.so                 libicpfindlib.so.0.0
libhuginbase.so.0.0             liblocalfeatures.so.0.0
libhuginbasewx.so.0.0           libmakefilelib.so.0.0
libhuginlines.so.0.0

Is hugin port broken, or is there possibly a fix for this
that I have missed?  Any help appreciated.

Thank you,
Rob

--------------------------
Rob Clark <rpclark at tds.net>


More information about the freebsd-ports mailing list