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

Fix dynamic link library missing #17

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Mundi-Xu
Copy link
Contributor

Gegl-0.2 installs libgegl-0.2.so.0 into /usr/local/lib, which needs to be linked to gimp.

image

image

@Mundi-Xu Mundi-Xu changed the title Fix link error Fix dynamic link library missing Jan 18, 2022
@Mundi-Xu
Copy link
Contributor Author

image

By the way, after modifying the code according to the #15 , it runs normally but the fuzz times out. Is this because of the location of the exit?

@Mundi-Xu
Copy link
Contributor Author

I've tried two different methods and it doesn't seem to make a difference, both time out.

@antonio-morales
Copy link
Owner

Hi @Mundi-Xu !

Gegl-0.2 installs libgegl-0.2.so.0 into /usr/local/lib, which needs to be linked to gimp.

image

image

Did you need to include it explicitly? What error did you get?

image

By the way, after modifying the code according to the #15 , it runs normally but the fuzz times out. Is this because of the location of the exit?

Did you remove plugins with rm ./install/lib/gimp/2.0/plug-ins/* ?? Cause plugins loading is very time-consuming.

Beyond this, this timeout value is just an approximated value based on my machine. I just added a note to Exercise 6 to make it clear. Did you try with different timeout values?

@Mundi-Xu
Copy link
Contributor Author

The error is that the link library cannot be found, you can set LD_PRELOAD instead, at least the recommended VM does not add the directory to the $PATH.

@Mundi-Xu
Copy link
Contributor Author

I removed all plugins, the problem was that I tried other seeds and it worked fine, but the repository's sampleinput.xcf was causing aflpp to timeout no matter what the timeout value was set to. But running it alone again without problems, I don't know what's going on.

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

Successfully merging this pull request may close these issues.

2 participants