From owner-freebsd-ports@FreeBSD.ORG Thu Dec 4 08:21:53 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99B4D1065675 for ; Thu, 4 Dec 2008 08:21:53 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 715AE8FC13 for ; Thu, 4 Dec 2008 08:21:53 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1L89AD-0007g1-Gx for freebsd-ports@freebsd.org; Thu, 04 Dec 2008 00:02:21 -0800 Message-ID: <20828880.post@talk.nabble.com> Date: Thu, 4 Dec 2008 00:02:21 -0800 (PST) From: Silver Salonen To: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: silver.salonen@gmail.com Subject: cmake cannot link against libxml++ X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Dec 2008 08:21:53 -0000 Hello. I created a port for Museek+ which is built with cmake now. The problem is that although it gets built OK, cmake cannot link one of its executables against libxml++: ===== ... [100%] Building CXX object museekd/CMakeFiles/museekd.dir/distributedsocket.cpp.o Linking CXX executable museekd /usr/bin/ld: cannot find -lxml++-2.6 *** Error code 1 ===== Concerning libxml++, cmake seems to find it OK - before building: ===== -- checking for one of the modules 'libxml++-2.6' -- found libxml++-2.6, version 2.22.0 ===== Previously I had a problem with cmake finding libiconv.h, but I resolved it with "CMAKE_ARGS+= -DCMAKE_REQUIRED_INCLUDES="${LOCALBASE}/include". But I guess it's irrelevant and not even similar. Is there anything to be specified in order to cmake to find libxml++ correctly? -- View this message in context: http://www.nabble.com/cmake-cannot-link-against-libxml%2B%2B-tp20828880p20828880.html Sent from the freebsd-ports mailing list archive at Nabble.com.