Howto install apache on FreeBSD10

Matthias Fechner idefix at fechner.net
Wed Mar 19 08:31:25 UTC 2014


Dear list,

I did yesterday an upgrade from FreeBSD 9 to 10.
And now I'm in the process to rebuild all installed ports.

I started with apache22, as it is the most important one.
But if I try to compile the port I get the error message:
--- htpasswd ---
/usr/bin/ld: cannot find -ldb-4.7
--- htdigest ---
/usr/bin/ld: cannot find -ldb-4.7
--- htpasswd ---
cc: error: linker command failed with exit code 1 (use -v to see invocation)
--- htdigest ---
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [htdigest] Error code 1

make[4]: stopped in /usr/ports/www/apache22/work/httpd-2.2.26/support


If I check db47 I get the message:
Please use databases/db5 or db6 for new installs.

How can I get apache22 build against db6?

Thanks,
Matthias

-- 
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook


More information about the freebsd-questions mailing list