From owner-freebsd-ports@FreeBSD.ORG Sat Jun 22 07:28:51 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 58605AFE for ; Sat, 22 Jun 2013 07:28:51 +0000 (UTC) (envelope-from rpclark@tds.net) Received: from mail-gh0-x234.google.com (mail-gh0-x234.google.com [IPv6:2607:f8b0:4002:c05::234]) by mx1.freebsd.org (Postfix) with ESMTP id 1F3EB1FF3 for ; Sat, 22 Jun 2013 07:28:48 +0000 (UTC) Received: by mail-gh0-f180.google.com with SMTP id f18so2452045ghb.25 for ; Sat, 22 Jun 2013 00:28:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:cc:subject:message-id:x-mailer:mime-version :content-type:content-transfer-encoding:x-gm-message-state; bh=3q9MqhRKGr6v2Ie4JJ5D9jid9JeE+Vs5VkX1QBi5pXE=; b=Py+pYxRkYDTqB07uT/xVPTB9f2Y7+8cjlfxQnpAl2ePTqZvA0KUyPDlBX6l8sCFbHB Cxfd0KNWc68XK6Q0KnzggXXZNqWd3zXQzpp28S9Xpj2gaQLsvWqqzpcCJ8PxXtYy97bU vTkiZsWnt07E5W+B2yaM8Bws/lUq+pWzxkow3uD4660JFJRIkE4p0WDn4iynSgnrXUP2 xX1bjUUnUws/nb7UgslEr1RL6lyCmcXV2NkNxKUYT2uowj94I/92Q4VBS6YDyVosC9Vo J+6YJmcD+TW7Zx9qW8+WEWdZ40PrYpO11uTPUhIRjHZW1ZCksVyoMPMKQOR6C4NzJkIQ rj2A== X-Received: by 10.236.141.134 with SMTP id g6mr9144293yhj.81.1371886128229; Sat, 22 Jun 2013 00:28:48 -0700 (PDT) Received: from x2.largegray.org (h69-131-1-161.stmyga.broadband.dynamic.tds.net. [69.131.1.161]) by mx.google.com with ESMTPSA id s65sm14430451yhs.14.2013.06.22.00.28.47 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 22 Jun 2013 00:28:47 -0700 (PDT) Date: Sat, 22 Jun 2013 03:30:16 -0400 From: Rob Clark To: vd@FreeBSD.org Subject: hugin, libboost_thread.so not found Message-Id: <20130622033016.72bad862.rpclark@tds.net> X-Mailer: Sylpheed 3.1.4 (GTK+ 2.24.6; i386-portbld-freebsd8.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQljx0SgYUFR/RNW/F57pLxQQkZFvZh0Fs6YWOcofZ1xFBqd7+9SBx08OKJB/ca62W2WrJlL Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jun 2013 07:28:51 -0000 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@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@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