Hi,
 
I am trying to build the log4cxx on SunOS. I build the apr, apr-util and cppunit.
when i try to build the log4cxx,,i am able to compile the code bt during linking i get the follwing error.
 
ld: fatal: library -lsqlite3: not found
ld: fatal: library -liconv: not found
ld: fatal: File processing errors. No output written to .libs/liblog4cxx.so.9.0.0
*** Error code 1
make: Fatal error: Command failed for target `liblog4cxx.la'.
 
The makefile in log4cxx has
APU_LIBS =  -L/usr/local/apr/lib -laprutil-1 -lsqlite3 -lexpat -liconv.
 
and i checked the lib folder under which the apr is installed and it has
 
apr.exp                libapr-1.so.0          libaprutil-1.so.0      libexpat.so.0
aprutil.exp            libapr-1.so.0.2.7      libaprutil-1.so.0.2.7  libexpat.so.0.1.0
libapr-1.a             libaprutil-1.a         libexpat.a             pkgconfig
libapr-1.la            libaprutil-1.la        libexpat.la
libapr-1.so            libaprutil-1.so        libexpat.so
 
 
Can anyone please let me know how to correct the error.
( looking at the make i feel that the apr/apr-util lib folder should have the
sqlite3.so ??? which i am missing....correct me???)
 
 
 
/Prasanth
 
 
 
 


Regards
Siva Prasanth Kambam


Yahoo! Music Unlimited - Access over 1 million songs. Try it free.

Reply via email to