Issue in compiling cpp file
Hi,
I've been trying to build a cpp file by adding all the required libraries, but its saying that the library is not found.
Please find the command and error below.
g++ -o ../../bin/mkcpl ../../src/mkcpl.cpp -lm -lexpat -lasdcp -lkumu -lcrypto -I ../../dep/asdcplib/ -L ../../dep/expat
/usr/bin/ld: cannot find -lexpat
collect2: ld returned 1 exit status
expat is the library which i've already built and its available under dep.
Not sure why its still saying 'cannot find -lexpat'
Can anyone help?
Last edited by partha82; 06-24-2010 at 03:56 PM.
|