Freeocl build but doesn't work

Tijl Coosemans tijl at coosemans.org
Thu Jul 25 09:37:41 UTC 2013


On Thu, 25 Jul 2013 09:17:56 +0200 lbartoletti wrote:
> Hello,
> 
> I try to work with opencl via Freeocl but it doesn't work.
> 
> 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"
> 
> 
> here some logs and the source code for test.
> 
> 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=/usr/local/lib/gcc46".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130725/013c069e/attachment.sig>


More information about the freebsd-ports mailing list