1 | |
---|
2 | The Error: |
---|
3 | |
---|
4 | /opt/local/share/apr-1/build/libtool --silent --mode=link /usr/bin/gcc-4.0 -I/opt/local/include -O2 -L/opt/local/lib/db44 -L/opt/local/lib -o htpasswd htpasswd.lo -L/opt/local/lib -lpcre /opt/local/lib/libaprutil-1.la -ldb-4.5 -lsqlite3 -lexpat -liconv /opt/local/lib/libapr-1.la -lpthread |
---|
5 | ld: library not found for -ldb-4.5 |
---|
6 | collect2: ld returned 1 exit status |
---|
7 | make[2]: *** [htpasswd] Error 1 |
---|
8 | make[1]: *** [all-recursive] Error 1 |
---|
9 | make: *** [all-recursive] Error 1 |
---|
10 | |
---|
11 | |
---|
12 | |
---|
13 | The Workaround: |
---|
14 | |
---|
15 | cd /opt/local/lib |
---|
16 | sudo ln -s db45/libdb* . |
---|
17 | |
---|