Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libz.so not found under Mac OS X #5

Open
GoogleCodeExporter opened this issue Mar 24, 2015 · 0 comments
Open

libz.so not found under Mac OS X #5

GoogleCodeExporter opened this issue Mar 24, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Compilation of a simple HelloWorld code with gpuocelot under Mac OS X
2. Execution

What is the expected output? What do you see instead?
Exception thrown, because the dynamic library libz.so cannot be found. Under 
Mac OS X it is called libz.dylib.


What version of the product are you using? On what operating system?
gpuocelot 2.0.969 with hydrazine included. 
Compiled with gcc (MacPorts gcc46 4.6.3_9) 4.6.3 under Mac OS X 10.8.2.
Installed through gpuocelot.

Please provide any additional information below.
A possible solution is to open the libz.dylib file instead of the libz.so file 
(hydrazine/implementation/compression.cpp).

33: void* libz = dlopen("libz.so", RTLD_LAZY); 

A check for both library names solves the issue.

Original issue reported on code.google.com by [email protected] on 18 Feb 2013 at 2:25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant