[cs631apue] undefined reference

ccui1 ccui1 at stevens.edu
Sun Dec 2 23:17:36 EST 2012

Even the -lm cannot be used to resolve the math functions I used.

I found that all the link files are in a directory which is 

Any thing wrong with this?

On Sun, 2 Dec 2012 23:08:13 -0500, Jan Schaumann wrote:
> ccui1 <ccui1 at stevens.edu> wrote:
>> I have installed the libssl-dev. 64 bit Ubuntu.
>> When I try to do -lcrypto, "undefined reference to" will still shows 
>> up.
>> How can I fix that?
> That depends on what symbols you are missing.  Usually, the manual 
> pages
> for the various functions will include information about which 
> libraries
> to link with.
> And of course you are expected to build and run your code on
> linux-lab.cs.stevens.edu, where installation of any packages is not
> required.
> -Jan

Chao Cui
phone: 518-505-0519
Master of Computer Science Candidate
Stevens Institute of Technology

More information about the cs631apue mailing list