Joe Orton wrote:
On Wed, Dec 06, 2006 at 02:15:50AM -0800, Philip M. Gollucci wrote:
CFLAGS="-g3 -fno-strict-aliasing -O0 -DAP_UNSAFE_ERROR_LOG_UNESCAPED" ./configure \
    --prefix=$S/httpd/2.2.3/prefork \
    --with-apr=$S/apr/1.2.7/bin/apr-1-config \
    --with-apr-util=$S/apr-util/1.2.7-5.1.12-beta/bin/apu-1-config \

Hiya, what platform is this, a BSD? If this APR is not being used it's probably an RPATH problem. What does the httpd link line look like? Do:
FreeBSD.


  $ rm httpd
  $ make httpd LTFLAGS=
gcc -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -g3 -fno-strict-aliasing -O0 -DAP_UNSAFE_ERROR_LOG_UNESCAPED -o httpd .libs/modules.o buildmark.o -Wl,--export-dynamic -L/usr/local/lib server/.libs/libmain.a modules/http/.libs/libmod_http.a modules/mappers/.libs/libmod_so.a server/mpm/prefork/.libs/libprefork.a os/unix/.libs/libos.a -lm /home/pgollucci/dev/compile/freebsd-6.2-prerelease/3.4.6/httpd/2.2.3/prefork/srclib/pcre/.libs/libpcre.a /home/pgollucci/dev/software/freebsd-6.2-prerelease/3.4.6/apr-util/1.2.7-5.1.12-beta/lib/libaprutil-1.so /usr/local/lib/libexpat.so /home/pgollucci/dev/software/freebsd-6.2-prerelease/3.4.6/apr/1.2.7/lib/libapr-1.so -lcrypt -Wl,--rpath -Wl,/home/pgollucci/dev/software/freebsd-6.2-prerelease/3.4.6/apr-util/1.2.7-5.1.12-beta/lib -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/home/pgollucci/dev/software/freebsd-6.2-prerelease/3.4.6/apr/1.2.7/lib -Wl,--rpath -Wl,/home/pgollucci/dev/software/freebsd-6.2-prerelease/3.4.6/apr-util/1.2.7-5.1.12-beta/lib -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/home/pgollucci/dev/software/freebsd-6.2-prerelease/3.4.6/apr/1.2.7/lib

I see no .la in /usr/local the expat came from FreeBSD ports (/usr/ports/textproc/expat2)

/home/pgollucci/dev/software/freebsd-6.2-prerelease/3.4.6/apr/1.2.7/lib/libapr-1.so

Thats the one I want.

But
ldd ./httpd
./httpd:
        libm.so.4 => /lib/libm.so.4 (0x280ce000)
libaprutil-1.so.2 => /home/pgollucci/dev/software/freebsd-6.2-prerelease/3.4.6/apr-util/1.2.7-5.1.12-beta/lib/libaprutil-1.so.2 (0x280e4000)
        libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x28103000)
        libapr-1.so.2 => /usr/local/lib/libapr-1.so.2 (0x28121000)
        libcrypt.so.3 => /lib/libcrypt.so.3 (0x28141000)
        libc.so.6 => /lib/libc.so.6 (0x28159000)


And in fact this actually causes cores while I'm trying to develop mp2 if I forget to set LD_LIBRARY_PATH in the shell.

I figured you were going to say that.... D'oh!

The only reason I have apr in my lib path is from a FreeBSD subversion build installed system wide. I'll deinstall it and build it from source and put it outside my path like I normally do.

Or I guess I could build a libexpat somewhere other then /usr/local/lib and link against it instead -- thus keeping /usr/local/lib out of there.

*sigh*

Thanks.




--
------------------------------------------------------------------------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

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.

Reply via email to