Re: 2.2.9 missing options, no sql

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tom,

On Sat, 14 Jun 2008, Tom Donovan wrote:

simple configure of adding --with-mysql became a dream, now this and an important option for this system, the --with-devrandom option, have both dissapeared and configure puts up warnings all over the place...

Do you mean "configure: WARNING: Unrecognized options: --with-devrandom, --with-mysql" ?

This appears to be a new warning with autoconf 2.62, but the options still work correctly.
You can add --disable-option-checking to suppress these warnings.

Ok thanks


urandom is now the default, see grep DEV_RANDOM srclib/apr/include/arch/unix/apr_private.h

Excellent, verified...

on default, but mysql did not get included when I tested with ldd for libmysqlclient_r
Did you use ldd on /usr/local/apache/lib/apr-util-1/apr_dbd_mysql.so ?

I used it on the installed httpd as I've always done and was recommended to me by a dev member some time ago, that shows nothing, doing it on your above file shows:

ldd /usr/local/apache/lib/apr-util-1/apr_dbd_mysql.so
        linux-gate.so.1 =>  (0xffffe000)
libmysqlclient_r.so.15 => /usr/lib/mysql/libmysqlclient_r.so.15 (0xb7e26000)
        libz.so.1 => /usr/X11R6/lib/libz.so.1 (0xb7e12000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7de4000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xb7dcd000)
        libm.so.6 => /lib/libm.so.6 (0xb7da6000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7d8f000)
        libssl.so.0 => /usr/X11R6/lib/libssl.so.0 (0xb7d4e000)
        libcrypto.so.0 => /usr/X11R6/lib/libcrypto.so.0 (0xb7c10000)
        libc.so.6 => /lib/libc.so.6 (0xb7ace000)
        /lib/ld-linux.so.2 (0x80000000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7aca000)

(see next paragraph)

See the apr-util changes http://www.apache.org/dist/apr/CHANGES-APR-UTIL-1.3
If you want a static link you can use --disable-util-dso

Ah this is the culprit, ldd on httpd now confirms mysql support :)
I (like most admins I think) only concerned myself with the Apache 'changes'
file, which mentions nothing of this, I never went looking for other included
changelogs, perhaps this should be mentioned in the changes/README.mysql file, as others will in time no doubt hit the same traps I did as 2.2.8 was rather straight forward and simple, 2.2.9 gives the appearance its broken but is not when you have the extra information, was there any operational reason why it was changed to this?

Incidently this has also cured my segfault on httpd -k stop

Thanks Tom, much appreciated for your assistance.


--
Cheers
Res

I read usenet and lists in pine. But m$ outlook, thunderbird and gmail
often use html span/whatever for quotes, makes it hard to tell who said
what, so I dont try. If I ignore you, thats why! Use a compliant mailer.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux