From owner-freebsd-ports@FreeBSD.ORG Thu Jul 25 09:37:41 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4FC0881E for ; Thu, 25 Jul 2013 09:37:41 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay007.isp.belgacom.be (mailrelay007.isp.belgacom.be [195.238.6.173]) by mx1.freebsd.org (Postfix) with ESMTP id E11782B6A for ; Thu, 25 Jul 2013 09:37:40 +0000 (UTC) X-Belgacom-Dynamic: yes X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=K/4FL2PCLwLz0yUCLDM8BdkkXYERL8kpd1e6lZPJPhE= c=1 sm=2 a=sA6A9dajwTAA:10 a=ZxPGInapWdQA:10 a=Lt8MdZpx5-CAlmU55aQA:9 a=CjuIK1q_8ugA:10 a=jtvN152oNZUODmTlIuAA:9 a=0CaTwavtbm8A:10 a=_G8qimlXLBUA:10 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: An4GAMb271FR8b7D/2dsb2JhbABbgwa/CoJ9gRUXdIIkAQEFViMQCxgJJQ8qHgaIJ7k0j30HhAADkBKHTJFOgxY6 Received: from 195.190-241-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.241.190.195]) by relay.skynet.be with ESMTP; 25 Jul 2013 11:36:30 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.7/8.14.7) with ESMTP id r6P9aTnq001901; Thu, 25 Jul 2013 11:36:29 +0200 (CEST) (envelope-from tijl@coosemans.org) Date: Thu, 25 Jul 2013 11:36:23 +0200 From: Tijl Coosemans To: lbartoletti Subject: Re: Freeocl build but doesn't work Message-ID: <20130725113623.1a9ad58d@kalimero.tijl.coosemans.org> In-Reply-To: <20130725091756.4a01c51d@bureau> References: <20130725091756.4a01c51d@bureau> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA256; boundary="Sig_/FwmtJ0wge6Sa9FQINkZg7G7"; protocol="application/pgp-signature" Cc: ohartman@zedat.fu-berlin.de, 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: Thu, 25 Jul 2013 09:37:41 -0000 --Sig_/FwmtJ0wge6Sa9FQINkZg7G7 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 25 Jul 2013 09:17:56 +0200 lbartoletti wrote: > Hello, >=20 > I try to work with opencl via Freeocl but it doesn't work. >=20 > When i build a test, it's ok (except with gcc46), but when i run it, it > doesn't work : > ": version GLIBCXX_3.4.11 required > by /usr/local/lib/libOpenCL.so.1 not found" >=20 >=20 > here some logs and the source code for test. >=20 > Thank your for your help Compiling C++ code with gcc ports is a little tricky because they insist on using their own runtime libraries (/usr/local/lib/gcc46/libstdc++.so.6) instead of the base system libraries (/usr/lib/libstdc++.so.6). So try to compile your test with "gcc46 -Wl,-rpath=3D/usr/local/lib/gcc46". --Sig_/FwmtJ0wge6Sa9FQINkZg7G7 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iF4EAREIAAYFAlHw8ZwACgkQfoCS2CCgtiswQQD/WYk9V7vx6IOHYZH2G+p3lM2v 51vVb7KMmo8kLzE2LDoA+wbmHeOW6zJNrcTY1d2v6OOx2SagvIsHJYeA7MMPC8Z9 =D/yR -----END PGP SIGNATURE----- --Sig_/FwmtJ0wge6Sa9FQINkZg7G7--