Hi Lawson, thank you for your help... but it must be way over my head. I
don't know where the link command is being executed from, it doesn't appear
to be in ./configure <or> config.* files. It looks like everything else
(modules: openssl, mod_ssl, rsaref) worked okay when I `made` them, though I
tweaked the --prefix and other directives there too. MySql works fine, and
PHP4 appears to have installed fine...

I'm using a tutorial written on DevShed.com to put my configuration
together, but I don't think it was written for someone without `root` (su)
authority. I am simply an account on the remote system, I've been running
Apache1.3.6 w/php3 and MySql3.22 - and wanting to upgrade things to
Apache1.3.12 w/php4 and MySql3.23...

I can go back to the older versions, but I'm pretty bull-headed, and I want
to do some SSL coding and the other things that these upgrades will bring.
If I printed out the ./configure commands I ran for each of the prerequisite
modules and servers, would it help determine my failing point? Can you tell
me - how to tell you - what version OS I'm using - among other utilities
(like compilers)?

Should I give up and support my other available OS? (don't say it). I guess
I should ask if it's possible for a non-`su` to do what I'm trying to do.

(...blah, blah blah) Thanks for any reply that might help me move along in
my life.

~ Steve

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, July 27, 2000 12:01 PM
Subject: Re: Apache Installation [make] problems


> With the exception of compress and uncompress, which are in libz (look
> in /usr/lib) the others are all defined in libc-2.1.2.so.
> You can list the symbols in a library with
>
> nm [-D]
>
> At a guess, ./configure has set ld's search path to exclude /lib and
> /usr/lib, or your libraries are in some strange location, or libc is old
> and you didn't install libz??
>
> Hmmm, maybe it is just searching libraries in the wrong order.  I think
> if you will just add -lz -lc to the end of the link command you will be
> right.
>
> Lawson

%SSL_BASE=../openssl-0.9.5a \
RSA_BASE=../rsaref-2.0/local \
./configure \
--enable-module=ssl \
--activate-module=src/modules/php4/libphp4.a \
--enable-module=php4 \
--prefix=/home/smartin/apache \
--enable-shared=ssl

%make

... everything seems Ok until the following messages appear [see "undefined
reference to"] can anyone provide any clues?

...:
cp libmodphp4.a libphp4.a
ar r libphp4.a mod_php4.o
ranlib libphp4.a
<=== src/modules/php4
<=== src/modules
gcc -c  -I./os/unix -I./include   -DLINUX=2 -DMOD_SSL=206105
-I/home/smartin/php
4 -I/home/smartin/php4/main -I/home/smartin/php4/main -I/home/smartin/php4/Z
end
-I/home/smartin/php4/Zend -I/home/smartin/php4 -DEAPI -DUSE_EXPAT
-I./lib/expat-lite `./apaci` modules.c
gcc -c  -I./os/unix -I./include   -DLINUX=2 -DMOD_SSL=206105
-I/home/smartin/php
4 -I/home/smartin/php4/main -I/home/smartin/php4/main -I/home/smartin/php4/Z
end
-I/home/smartin/php4/Zend -I/home/smartin/php4 -DEAPI -DUSE_EXPAT -I./lib/ex
pat-
lite `./apaci` buildmark.c
gcc  -DLINUX=2 -DMOD_SSL=206105 -I/home/smartin/php4 -I/home/smartin/php4/ma
in -
I/home/smartin/php4/main -I/home/smartin/php4/Zend -I/home/smartin/php4/Zend
 -I/
home/smartin/php4 -DEAPI -DUSE_EXPAT -I./lib/expat-lite
/apaci`   -rdynamic \
      -o httpd buildmark.o modules.o modules/standard/libstandard.a
modules/php4
/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a
lib/expat-lite/libexpat.
a  -Wl,-rpath,/home/smartin/mysql/lib  -rdynamic -L/home/smartin/mysql/lib -
Lmod
ules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4  -lgdbm -lpam  -l
dl -
lmysqlclient -lgd -lresolv -lm -ldl -lcrypt -lnsl  -lresolv  -lm -lcrypt -ld
l
/home/smartin/mysql/lib/libmysqlclient.a(libmysql.o): In function
`mysql_list_db
s':
libmysql.o(.text+0x2724): undefined reference to `__mempcpy'
/home/smartin/mysql/lib/libmysqlclient.a(libmysql.o): In function
`mysql_list_ta
bles':
libmysql.o(.text+0x27d0): undefined reference to `__mempcpy'
/home/smartin/mysql/lib/libmysqlclient.a(violite.o): In function
`vio_peer_addr'
:
violite.o(.text+0x1c): undefined reference to `__mempcpy'
/home/smartin/mysql/lib/libmysqlclient.a(my_open.o): In function `my_open':
my_open.o(.text+0x14): undefined reference to `open64'
/home/smartin/mysql/lib/libmysqlclient.a(mf_pack.o): In function
`cleanup_dirnam
e':
mf_pack.o(.text+0x5f8): undefined reference to `__mempcpy'
/home/smartin/mysql/lib/libmysqlclient.a(mf_format.o): In function
`fn_format':
mf_format.o(.text+0x1fa): undefined reference to `__lxstat64'
/home/smartin/mysql/lib/libmysqlclient.a(my_compress.o): In function
`my_uncompr
ess':
my_compress.o(.text+0x97): undefined reference to `uncompress'
/home/smartin/mysql/lib/libmysqlclient.a(my_compress.o): In function
`my_compres
s_alloc':
my_compress.o(.text+0x12b): undefined reference to `compress'
/home/smartin/mysql/lib/libmysqlclient.a(my_lib.o): In function `my_dir':
my_lib.o(.text+0x209): undefined reference to `readdir64'
/home/smartin/mysql/lib/libmysqlclient.a(my_lib.o): In function `my_stat':
my_lib.o(.text+0x349): undefined reference to `__xstat64'
/home/smartin/mysql/lib/libmysqlclient.a(my_lib.o): In function `my_fstat':
my_lib.o(.text+0x3a5): undefined reference to `__fxstat64'
/home/smartin/mysql/lib/libmysqlclient.a(my_fopen.o): In function
`my_fopen':
my_fopen.o(.text+0x21): undefined reference to `fopen64'
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/home/smartin/apache/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/smartin/apache'
make: *** [build] Error 2
[smartin@linux1 apache]$

Reply via email to