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

problem linking library. README incorrect? #91

Closed
abiacco opened this issue Apr 25, 2016 · 0 comments · Fixed by #100
Closed

problem linking library. README incorrect? #91

abiacco opened this issue Apr 25, 2016 · 0 comments · Fixed by #100

Comments

@abiacco
Copy link

abiacco commented Apr 25, 2016

I'm trying to replace json-c with this lib (0.99.2) to compile rsyslog 8.18.
The readme says to link with:
LDFLAGS+= -L$(LIBFASTJSON_DIR)/lib -llibfastjson

This gave me:
/usr/bin/ld: cannot find -llibfastjson

I looked in the pkgconfig file and it says:
Libs: -L${libdir} -lfastjson

Changing -llibfastjson to -lfastjson fixed the error for me.

rgerhards added a commit to rgerhards/libfastjson that referenced this issue Apr 30, 2016
Thanks to Anthony Biacco for reporting this.

closes rsyslog#91
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 a pull request may close this issue.

1 participant