Browse other questions tagged linker makefile or ask your own question. And it exits with the following error: /usr/bin/ld: cannot find -lcrypto collect2: ld returned 1 exit status My understanding from the gcc command, -Bstatic tries to statically link lib crypto (-lcrypto). Can I sell a stock immediately Is calling a function with local side-effects twice in the same expression undefined behavior? Not the answer you're looking for? http://softwaredevelopercertification.com/cannot-find/usr-bin-ld-cannot-find-lcrypto.php
Last edited by jim mcnamara; 03-30-2007 at 10:21 AM. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. When I try to compile it with g++, as suggested (for example) by http://stackoverflow.com/questions/5329638/usr-bin-ld-cannot-find I get other errors: parser.cpp:2:18: fatal error: util.h: No such file or directory (util.h is there in What is the meaning of ''cry oneself"?
Why does top 50% need a -50% translate offset? thank you for any helps in advance. 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 rise to the your .o's use libcrypto, so your link line should bring the .o's first, then -lcrypto).
share|improve this answer answered Jan 15 '14 at 10:26 PinBot 1 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign Why were pre-election polls and forecast models so wrong about Donald Trump? g++ -g -c -L/usr/local/lib/ -L/usr/lib64/ -I/usr/local/include/ -I/usr/local/ssl/include/ -lcrypto mysrc1.cpp mysrc2.cpp mysrc3.cpp g++ -L/usr/local/lib/ -L/usr/lib64/ -lcrypto *.o -o ./myapp.out My application uses function MD5 which is contained in libcrypto.so. Libcrypto Source But I likewise a curious why, if your paths are valid, libcrypto cannot be located. –WhozCraig Oct 16 '13 at 14:47 1 One thing you might try is adding -v
The whole thing is very unlikely to work or even compile on anything else." [I presume x86-84 is a typo for x86-64] - you appear to be trying to build on Click Here to receive this Complete Guide absolutely free. LinuxQuestions.org > Forums > Non-*NIX Forums > Programming cannot find -lcrypto in debian when using openssl library User Name Remember Me? Not the answer you're looking for?
Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ
What is this line of counties voting for the Democratic party in the 2016 elections?
share|improve this answer answered Sep 22 '14 at 17:42 Braiam 3,26782657 2 For CentOS 6 yum install openssl-devel and then pip install MySQL-python do the trick. –chirale Dec 3 '15
If you need to reset your password, click here.
Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community.
QGIS Print composer scale problems How to handle a common misconception when writing a Master's thesis?
Ubuntu /usr/bin/ld: "cannot Find -lgl"
linker makefile share|improve this question asked Apr 24 '14 at 20:29 mariner 3553515 Your distribution (or similar) would need to have a package for them if you wanted the Join them; it only takes a minute: Sign up Cannot find libcrypto in Ubuntu up vote 21 down vote favorite 3 I want to try one program which have makefile on Libcrypto Ubuntu Posted by Trinh Nguyen at 3:35 PM Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest Labels: error, lcrypto, lssl, mysql, solve, ubuntu Newer Post Older Post Home Subscribe to: Post Comments Libcrypto Centos current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list.
When I checked under /usr/lib64, I have the following files: libcrypto.so -> libcrypto.so.1.0.1e libcrypto.so.10 -> libcrypto.so.1.0.1e libcrypto.so.1.0.1e Does -Bstatic link the shared files statically or not? http://softwaredevelopercertification.com/cannot-find/ubuntu-usr-bin-ld-cannot-find-lz.php Is adding the ‘tbl’ prefix to table names really a problem? Is it possible for a diesel engine computer to detect (and prevent) a runaway condition? Are you new to LinuxQuestions.org? Libcrypto Debian
In my case, the error occurs when I install MySQL-python package: /usr/bin/ld: cannot find -lssl /usr/bin/ld: cannot find -lcrypto So, the solution here is install those missing libraries. What is going on? If not how do I get libcrypto.a? navigate here There are some trivial paths like /usr/local/lib which can be omitted of course, but I specified them because the makefile is parametric.
Forcing everyone to speak the same language Basic Geometric intuition, context is undergraduate mathematics How do unlimited vacation days work? Yum Install Libcrypto Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest Calculating ...5(5+4(4+3(3+2(2+1(1))))) Someone peeled an American flag sticker off of my truck.
What episode of Star Trek is this creature on? sudo apt-get install libssl-dev share|improve this answer edited Apr 21 '14 at 17:37 Quuxplusone 7,81212666 answered Jan 16 '13 at 17:54 Patrick Anderson 86569 add a comment| up vote 2 down Did I do right? –user426364 Dec 29 '13 at 15:41 After sudo apt-get install g++-multilib: .objs/util.o: In function `addrToHash160(unsigned char*, unsigned char const*, bool, bool) [clone .constprop.50]': –user426364 Dec Libcrypto.so.10 Ubuntu Done libssl-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
I found this topic however, and with the help of the information here I was able to resolve my problem. asked 3 years ago viewed 24247 times active 3 years ago Upcoming Events 2016 Community Moderator Election ends Nov 22 Related 2linker unable to find __assert_fail9Linking a shared library with another Should I report it? his comment is here Password Programming This forum is for all programming questions.
TIKZ: foreach not compatible with calc-library? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. Thank you guys for your help so far (was having issues with the GRUB loader last night; you guys did help with that), but I could use some more help. If you need to reset your password, click here.
I try to #LIBS = -lpthread -lcrypto -lssl \ and change to LIBS = -lpthread\ but there are much more errors occur –Limavolt Dec 11 '12 at 1:08 | show 3 What is this line of counties voting for the Democratic party in the 2016 elections? Furniture name for waist-high floor-sitting shelf cabinet thing Scheduling a task into a period within a day, depending on whether it is a weekend Build me a brick wall! Word for a Fact Believed by a Sub-Culture Does Intel sell CPUs in ribbons?
simon_qwl View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by simon_qwl 03-30-2007, 10:19 AM #2 jim mcnamara Member Registered: May 2002 Posts: