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

error when make USE_SSL=1 #748

Closed
njuyang14 opened this issue Jan 12, 2020 · 3 comments
Closed

error when make USE_SSL=1 #748

njuyang14 opened this issue Jan 12, 2020 · 3 comments

Comments

@njuyang14
Copy link

branch: master
commit id: 0501c62

when i compile with: make USE_SSL=1, i meet some errors. I see the error "No rule to make target '-lssl'", but i don't know why the '-ssl' is a target. Please help me, thanks!

[root@80439c2caaee /usr1/newhiredis/hiredis]$make USE_SSL=1 cc -std=c99 -pedantic -c -O3 -fPIC -DHIREDIS_TEST_SSL -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb net.c cc -std=c99 -pedantic -c -O3 -fPIC -DHIREDIS_TEST_SSL -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb hiredis.c cc -std=c99 -pedantic -c -O3 -fPIC -DHIREDIS_TEST_SSL -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb sds.c cc -std=c99 -pedantic -c -O3 -fPIC -DHIREDIS_TEST_SSL -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb async.c cc -std=c99 -pedantic -c -O3 -fPIC -DHIREDIS_TEST_SSL -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb read.c cc -std=c99 -pedantic -c -O3 -fPIC -DHIREDIS_TEST_SSL -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb sockcompat.c cc -shared -Wl,-soname,libhiredis.so.0.14 -o libhiredis.so net.o hiredis.o sds.o async.o read.o sockcompat.o ar rcs libhiredis.a net.o hiredis.o sds.o async.o read.o sockcompat.o cc -std=c99 -pedantic -c -O3 -fPIC -DHIREDIS_TEST_SSL -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb test.c cc -std=c99 -pedantic -c -O3 -fPIC -DHIREDIS_TEST_SSL -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb ssl.c ar rcs libhiredis_ssl.a ssl.o make: *** No rule to make target '-lssl', needed by 'hiredis-test'. Stop.

michael-grunder added a commit to michael-grunder/hiredis that referenced this issue Feb 13, 2020
@michael-grunder
Copy link
Collaborator

Hi @njuyang14 sorry about the delay.

Are you by chance trying to build hiredis on OSX?

Can you try building this branch linked in this thread and see if it works for you?

michael-grunder added a commit to michael-grunder/hiredis that referenced this issue Apr 9, 2020
@michael-grunder
Copy link
Collaborator

michael-grunder commented Apr 10, 2020

Should be sorted in #786. I'll close this issue when that's merged

@michael-grunder
Copy link
Collaborator

Closing via #789

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

No branches or pull requests

2 participants