Re: freebsd upgrade problem
On Nov 28, 2006, at 1:58 AM, Philip M. Gollucci wrote: Seems to be a FreeBSD quark / fluke, I'll try and solve this off-list. Argh.. I finally got it. Thanks a ton to Philip for some offlist pointers. error: cd /usr/ports/www/libapreq2 make install cc -shared .libs/util.o .libs/version.o .libs/cookie.o .libs/ param.o .libs/parser.o .libs/parser_urlencoded.o .libs/ parser_header.o .libs/parser_multipart.o .libs/module.o .libs/ module_custom.o .libs/module_cgi.o .libs/error.o -Wl,--rpath -Wl,/ usr/local/lib/apache2 -Wl,--rpath -Wl,/usr/local/lib/apache2 /usr/ local/lib/apache2/libapr-0.so /usr/local/lib/apache2/libaprutil-0.so - ldb-4.2 -lexpat -liconv -lm -lcrypt -L/usr/local -Wl,-soname - Wl,libapreq2.so.8 -o .libs/libapreq2.so.8 /usr/bin/ld: cannot find -ldb-4.2 gmake[2]: *** [libapreq2.la] Error 1 fix: cd /usr/ports/www/libapreq2 export GCC_EXEC_PREFIX=/usr/local/lib make install I think this might actually be indicative of a ports problem/quirk, so i'm posting it here: the apache20 port installs the various libs in /usr/local/lib/apache2 when libapreq2 builds against that, it sets the base lib to /usr/ local/lib/apache2 (this is the libapreq ports and source) i think the apache22 port and the apache source will automatically install into /usr/local/lib instead -- and not cause this issue to occur if you install the apr lib on its own (not the bundled 0.9 branch in apache20 ) you get a 1.0 branch in /usr/local/lib -- i think there's a way to build that first and have apache20 link against that, but i'm not sure. i could be wrong - and this is all some sort of box specific issue. i'm not all that familiar with gcc and ld. but this is what the problem looks to be from my vantage. in any event, there you go. so the next person to have this nightmare won't have this issue. // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | FindMeOn.com - The cure for Multiple Web Personality Disorder | Web Identity Management and 3D Social Networking | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | RoadSound.com - Tools For Bands, Stuff For Fans | Collaborative Online Management And Syndication Tools | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Re: freebsd upgrade problem
On Nov 27, 2006, at 7:31 PM, Philip M. Gollucci wrote: If I were you, I would build subversion with mod_dav_svn even if you are not going to use it -- you can not load it in the httpd.conf later. During this build, let the ports system build APR and dbd for you -- WITH_APACHE2_APR=yes its something close to that switch. already did that. uninstalled and reinstalled. no luck. i'm alternating between errors on expat and db4 now -- it seems that anything that hits apr won't link to any of its libraries right. i've been trying to do libapreq off the ports and source -- no luck on either. any port that builds against things that aren't apr -- no problem. introduce apr, and it chokes on bdb or expat. Can you do a ldd on mod_apreq.so no. i deinstalled it for the upgrade. so now i've got one in memory, and no way to build it. If you need to be up in a hurry, you can likely symlink a different version into place, or use /etc/libmap.conf to map it accordingly. i'm close to buying another box, migratoing my system on a clean install, and reformatting this one. something odd happened, and i can't figure it out at all. apr seems to be the only thing affected. its driving me crazy. // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | FindMeOn.com - The cure for Multiple Web Personality Disorder | Web Identity Management and 3D Social Networking | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | RoadSound.com - Tools For Bands, Stuff For Fans | Collaborative Online Management And Syndication Tools | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Re: freebsd upgrade problem
Seems to be a FreeBSD quark / fluke, I'll try and solve this off-list. Jonathan wrote: On Nov 27, 2006, at 7:31 PM, Philip M. Gollucci wrote: If I were you, I would build subversion with mod_dav_svn even if you are not going to use it -- you can not load it in the httpd.conf later. During this build, let the ports system build APR and dbd for you -- WITH_APACHE2_APR=yes its something close to that switch. already did that. uninstalled and reinstalled. no luck. i'm alternating between errors on expat and db4 now -- it seems that anything that hits apr won't link to any of its libraries right. i've been trying to do libapreq off the ports and source -- no luck on either. any port that builds against things that aren't apr -- no problem. introduce apr, and it chokes on bdb or expat. Can you do a ldd on mod_apreq.so no. i deinstalled it for the upgrade. so now i've got one in memory, and no way to build it. If you need to be up in a hurry, you can likely symlink a different version into place, or use /etc/libmap.conf to map it accordingly. i'm close to buying another box, migratoing my system on a clean install, and reformatting this one. something odd happened, and i can't figure it out at all. apr seems to be the only thing affected. its driving me crazy. // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | FindMeOn.com - The cure for Multiple Web Personality Disorder | Web Identity Management and 3D Social Networking | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | RoadSound.com - Tools For Bands, Stuff For Fans | Collaborative Online Management And Syndication Tools | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708 Consultant / http://p6m7g8.net/Resume/resume.shtml Senior Software Engineer - TicketMaster - http://ticketmaster.com 1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F I never had a dream come true 'Til the day that I found you. Even though I pretend that I've moved on You'll always be my baby. I never found the words to say You're the one I think about each day And I know no matter where life takes me to A part of me will always be... A part of me will always be with you.