Error Cannot Find Lsl
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About
Linux Lssl
Us Learn more about Stack Overflow the company Business Learn more about hiring install lcrypto developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the
Usr Bin Ld Cannot Find Lcrypto
Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up /usr/bin/ld: cannot find -lssl up lcrypto not found vote 2 down vote favorite I'm trying to install a script on my server. But it doesn't finish the job at the last step. ./make.sh /usr/bin/ld: cannot find -lssl collect2: ld returned 1 exit status How do I fix above issue? Centos 6.4 Final x86_64 centos share|improve this question asked Aug 25 '13 at 17:44 Keisko 2618 4 You need to install the openssl-devel package. ubuntu cannot find lssl –Chris Jester-Young Aug 25 '13 at 17:50 Thanks. I've installed openssl-devel and it worked. –Keisko Aug 26 '13 at 12:00 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote You need the install the open ssl developer package: yum -y install openssl-devel share|improve this answer answered Mar 21 '15 at 18:10 Pedro Lobito 27.5k758109 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged centos or ask your own question. asked 3 years ago viewed 2721 times active 1 year ago Related 6(still) cannot properly install lxml 2.3 for python, but at least 2.2.8 works5How 'bad' is replacing /usr/bin/perl with /usr/local/bin/perl on CentOS?18/usr/bin/ld: cannot find -lgmp0/usr/bin/ld: cannot find -lrpm collect2: ld returned 1 exit status0where can I find “imagick.so” for for ImageMagick 6.9.0.0 x86_64?0node.js make fails with ld cannot be found-1Maillog /bin/sh: /usr/lib/dovecot/dovecot-l
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack
Libcrypto Ubuntu
Overflow the company Business Learn more about hiring developers or posting ads with us cannot find lssl centos Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community
Lssl Lcrypto
of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Cannot find libcrypto in Ubuntu up vote 20 down vote favorite 3 I want to try http://stackoverflow.com/questions/18431853/usr-bin-ld-cannot-find-lssl one program which have makefile on it but when I put make in the shell the error was: g++ -g -DaUNIX -I../../acroname/aInclude -I../../acroname/aSource -Wl,-rpath,. unix_aLaserDemo_Data/aLaserDemo.o unix_aLaserDemo_Data/acpLaser.o -lpthread -lcrypto -lssl -o ../../acroname/aBinary/aLaserDemo /usr/bin/ld: cannot find -lcrypto collect2: ld returned 1 exit status Here is the makefile: CC = g++ CFLAGS = -DaUNIX -I../../acroname/aInclude -I../../acroname/aSource LFLAGS = -Wl,-rpath,. SRC = ../../acroname/aSource BIN = ../../acroname/aBinary LIBS = -lpthread -lcrypto -lssl \ #LIBS = -lpthread\ http://stackoverflow.com/questions/13811889/cannot-find-libcrypto-in-ubuntu -L../../acroname/aBinary -l aUtil -l aIO OBJ = unix_aLaserDemo_Data .PHONY : app app : $(OBJ) $(BIN)/aLaserDemo $(OBJ) : mkdir $(OBJ) $(BIN)/aLaserDemo : $(OBJ)/aLaserDemo.o $(OBJ)/acpLaser.o $(CC) -g $(CFLAGS) $(LFLAGS) $^ $(LIBS) -o $@ $(OBJ)/aLaserDemo.o : aLaserDemo.cpp $(CC) -c $(CFLAGS) $< -o $@ $(OBJ)/acpLaser.o : $(SRC)/acpLaser.cpp $(SRC)/acpLaser.h $(CC) -c $(CFLAGS) $< -o $@ .PHONY : clean clean : rm -rf $(OBJ) rm -f $(BIN)/aLaserDemo I try to locate the crypto library: /usr/lib/i486/libcrypto.so.0.9.8 /usr/lib/i586/libcrypto.so.0.9.8 /usr/lib/i686/cmov/libcrypto.so.0.9.8 /usr/lib/libcrypto.so.0.9.8 What should I do to fix it? c gcc ubuntu share|improve this question edited Dec 11 '12 at 1:01 Jonathan Leffler 438k61509822 asked Dec 11 '12 at 0:50 Limavolt 2111320 is it 64bit system? –perreal Dec 11 '12 at 1:00 how we know it is 64 bits or 32 bit? I am beginner in linux. –Limavolt Dec 11 '12 at 1:01 You need to install the development code (package) for the crypto library. Specifically, you need /usr/lib/libcrypto.so (no numerical suffix) pointing at (symlinked to) /usr/lib/libcrypto.so.0.9.8. The linking process looks for a name ending .so; the run-time looks for the name with the versioned suffix. The devel package will ensure the right links are created for development with the crypto library; what you have at the moment is only for the runtime. –Jonathan Leffler Dec
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn http://superuser.com/questions/1054457/openssl-fails-to-install-from-source-error-usr-bin-ld-cannot-find-lssl more about Stack Overflow the company Business Learn more about hiring developers or posting https://github.com/crystal-lang/crystal/issues/2513 ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and cannot find rise to the top openssl fails to install from source ERROR: /usr/bin/ld: cannot find -lssl up vote 1 down vote favorite I am trying to install openssl by source I run: wget wget ftp://ftp.openssl.org/source/openssl-1.0.2g.tar.gz tar xvzf openssl-1.0.2g.tar.gz cd openssl-1.0.2g ./config --prefix=/home/david/project shared make depend make test make install make It fails after make test is executed with: make[2]: Leaving directory `/home/david/project/openssl-1.0.1s' make[2]: Entering directory `/home/david/project/openssl-1.0.1s/test' /usr/bin/ld: cannot find -lssl cannot find lssl collect2: ld returned 1 exit status make[2]: *** [link_app.gnu] Error 1 make[2]: Leaving directory `/home/david/project/openssl-1.0.1s/test' make[1]: *** [bntest] Error 2 make[1]: Leaving directory `/home/david/project/openssl-1.0.1s/test' make: *** [tests] Error 2 How can libssl-dev be installed from source since I am not using package manager ? EDIT. I had: [root@localhost lib64]# ls -l libssl* -rwxr-xr-x. 1 root root 258456 Dec 15 19:46 libssl3.so lrwxrwxrwx. 1 root root 16 Feb 27 22:10 libssl.so.10 -> libssl.so.1.0.1e -rwxr-xr-x. 1 root root 441240 Jan 8 14:45 libssl.so.1.0.1e and added: [root@localhost lib64]# ls -l libssl* -rwxr-xr-x. 1 root root 258456 Dec 15 19:46 libssl3.so lrwxrwxrwx. 1 root root 16 Mar 18 16:24 libssl.so -> libssl.so.1.0.1e lrwxrwxrwx. 1 root root 16 Feb 27 22:10 libssl.so.10 -> libssl.so.1.0.1e -rwxr-xr-x. 1 root root 441240 Jan 8 14:45 libssl.so.1.0.1e How could I get round having to add the symbolic link ? Is there something I could do as an install option ? linux openssl compile share|improve this question edited Mar 31 at 20:33 jww 2,357103581 asked Mar 18 at 12:12 dross 63 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote ./config --prefix=/home/david/project shared I don't normally use PREFIX. I would recommend using OPENSSLDIR since OpenSSL configure supports the option: wget ftp://ftp.openssl.or
Sign in Pricing Blog Support Search GitHub This repository Watch 318 Star 6,253 Fork 505 crystal-lang/crystal Code Issues 277 Pull requests 57 Projects 0 Wiki Pulse Graphs New issue Cannot find -lssl -lcrypto -lz #2513 Closed onuar opened this Issue Apr 25, 2016 · 6 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 4 participants onuar commented Apr 25, 2016 I'm kind of Linux noob. I'm playing Crystal and Kemal. But this happened when I try to execute "crystal build src/1kemaltest.cr" `Error opening file '/home/*/Applications/CrystalTests/1kemaltest/.crystal/opt/crystal /src/ecr/process.cr/bc_flags' with mode 'w': Permission denied [5660866] ??? [6182178] ??? [9509852] ??? [8168491] ??? {a lot of number} [5653341] ??? [12646872] main +40 [140537811283653] __libc_start_main +245 [5629425] ??? Error: you've found a bug in the Crystal compiler. Please open an issue, including source co de that will allow us to reproduce the bug: https://github.com/crystal-lang/crystal/issues *: ~/Applications/CrystalTests/1kemaltest $ ` And then I've tried this "sudo crystal build src/1kemaltest.cr" :) Compiler said: /usr/bin/ld: cannot find -lssl
/usr/bin/ld: cannot find -lcrypto
/usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
Error: execution of command failed with code: 1:cc -o "/home/*/Applications/Crystal Tests/1kemaltest/1kemaltest" "${@}" -rdynamic -lssl -lcrypto -lz /opt/crystal/src/ext/libc rystal.a -levent -lrt -lpcre -lm -lgc -lpthread -ldl`` As I said, I'm realy a newbie on Linux. Maybe it depends Linux. I'm not sure. My source code is below: `require "kemal" get "/" do "Hello World!" end Kemal.run` My development environment is on Koding.com (Ubuntu VM) Crystal version: 0.15.0 sdogruyol commented Apr 25, 2016 @onuar how did you install Crystal? Seems like you are missing libssl and other dependencies. onuar commented Apr 25, 2016 • ed