File Types (37)
Internet Explorer (80)
Compiling apache 2 on FreeBSD 6
22 comments. Current rating: (13 votes). Leave comments and/ or rate it.
Question:I need to install apache2 on my BSD box (FreeBSD 6.2) and when I compile using [@make@], it throws this error message:
/usr/local/directadmin/custombuild/httpd-2.2.6/srclib/apr/libapr-1.la -lcrypt -lpthread
/usr/bin/ld: cannot find -lexpat
*** Error code 1
How can I find this expat library?
Answer:Use the built-in expat functionality. Run make clean and then start over with this switch in the configure statement:
Afterwards simply run make and make install and you will have no problems.