Hi guys,I'm building apache 2.4.x (latest) for Solaris on Intel. I've built a cross compiler for this, which seems to be working fine. That said, all my modules are being built as .a and .la files, rather than .so files. Apache fails to start when it tries to load modules, saying that it cannot find <module-name>.so, which makes sense.
Here's my configure command:CC="/home/user/cross/x86_64-pc-solaris/bin/x86_64-pc-solaris2.10-gcc" CFLAGS="-m64 -O3 -march=core2 -mfpmath=sse -msse3 -mno-ssse3" ./configure --prefix=/opt/SP/apache/apache-2.4.17-intel-x64 --with-ssl=/home/user/cross/x86_64-pc-solaris/openssl-1.0.2d --target=$TARGET --host=$TARGET --with-sysroot=$SYSROOT ac_cv_file__dev_zero=yes ac_cv_func_setpgrp_void=yes ap_cv_void_ptr_lt_long=no --enable-deflate --enable-log_forensic --enable-ssl --enable-mime_magic --enable-mpms-shared='prefork worker' --with-mpm=prefork --with-pcre=/home/user/cross/x86_64-pc-solaris/pcre-8.37
I've compiled PCRE with the same compiler and the same flags and I got .so libraries along with .a and .la versions.
user@ubuntu-vm:~/cross/x86_64-pc-solaris/pcre-8.37/lib$ ls -lF total 480 -rw-r--r-- 1 user user 218250 Nov 20 00:24 libpcre.a -rw-r--r-- 1 user user 50356 Nov 20 00:24 libpcrecpp.a -rwxr-xr-x 1 user user 1125 Nov 20 00:24 libpcrecpp.la*lrwxrwxrwx 1 user user 19 Nov 20 00:24 libpcrecpp.so -> libpcrecpp.so.0.0.1* lrwxrwxrwx 1 user user 19 Nov 20 00:24 libpcrecpp.so.0 -> libpcrecpp.so.0.0.1*
-rwxr-xr-x 1 user user 45896 Nov 20 00:24 libpcrecpp.so.0.0.1* -rwxr-xr-x 1 user user 954 Nov 20 00:24 libpcre.la* -rw-r--r-- 1 user user 6552 Nov 20 00:24 libpcreposix.a -rwxr-xr-x 1 user user 1054 Nov 20 00:24 libpcreposix.la*lrwxrwxrwx 1 user user 21 Nov 20 00:24 libpcreposix.so -> libpcreposix.so.0.0.3* lrwxrwxrwx 1 user user 21 Nov 20 00:24 libpcreposix.so.0 -> libpcreposix.so.0.0.3*
-rwxr-xr-x 1 user user 11336 Nov 20 00:24 libpcreposix.so.0.0.3* lrwxrwxrwx 1 user user 16 Nov 20 00:24 libpcre.so -> libpcre.so.1.2.5* lrwxrwxrwx 1 user user 16 Nov 20 00:24 libpcre.so.1 -> libpcre.so.1.2.5* -rwxr-xr-x 1 user user 129264 Nov 20 00:24 libpcre.so.1.2.5* drwxrwxr-x 2 user user 4096 Nov 20 00:24 pkgconfig/ user@ubuntu-vm:~/cross/x86_64-pc-solaris/pcre-8.37/lib$ Any idea how I can get gcc to build .so files for Apache? Regards, K. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx