Changes between Initial Version and Version 5 of Ticket #16559
- Timestamp:
- Oct 10, 2010, 3:58:10 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16559
-
Property
Status
changed from
new
toclosed
-
Property
Milestone
changed from
Port Bugs
to -
Property
Resolution
changed from
to
worksforme
- Property Port apache2 added
-
Property
Status
changed from
-
Ticket #16559 – Description
initial v5 1 1 The apache2 port fails on Leopard with this error: 2 2 3 `/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 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 4 5 ld: library not found for -ldb-4.5 5 6 collect2: ld returned 1 exit status 6 7 make[2]: *** [htpasswd] Error 1 7 8 make[1]: *** [all-recursive] Error 1 8 make: *** [all-recursive] Error 1 `9 9 make: *** [all-recursive] Error 1 10 }}} 10 11 11 12 I was able to find the required libraries and fix the problem like this: 12 13 13 `cd /opt/local/lib 14 sudo ln -s db45/libdb* .` 14 {{{ 15 cd /opt/local/lib 16 sudo ln -s db45/libdb* . 17 }}} 15 18 16 19 which links the library files from local/db45/lib into local/lib, where apache2 expects to find them.