I don't have much experience in compiling C programs, so...

Hi Guys,

I don't have much experience in compiling C programs, so would just like to ask some help here. I am trying to compile the sample tibrvlisten.c on a CentOS 6.5 64bit system, but I am encountering this error when I try to execute the make command:

$ make tibrvlisten
gcc  -I ~/tibco/tibrv/8.4/include  -c -o tibrvlisten.o tibrvlisten.c
gcc -L~/tibco/tibrv/8.4/lib tibrvlisten.o -ltibrv -lm  -lpthread -otibrvlisten
/usr/bin/ld: cannot find -ltibrv
collect2: ld returned 1 exit status
make: *** [tibrvlisten] Error 1

Attached is the makefile that I have created. Any insight on how this can push through? Thanks!

Attachments

AttachmentSize
Plain text icon makefile.txt5.32 KB

(2) Answers

Login