>Number: 5272
>Category: config
>Synopsis: fatal: relocation error: file
>apache/libexec/mod_vhost_alias.so: symbol ap_table_setn: referenced symbol not
>found
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Mon Nov 8 15:20:00 PST 1999
>Last-Modified:
>Originator: [EMAIL PROTECTED]
>Organization:
apache
>Release: 1.3.9
>Environment:
uname -a
SunOS av20010 5.7 Generic_106541-05 sun4u sparc
apache 1.3.9
compiler gcc
echo $LD_LIBRARY_PATH
/home/perry/apache/libexec:/usr/lib:
/usr/dt/lib:/usr/openwin/lib:/usr/ucb/lib:
/usr/X11R6/lib:/usr/local/lib:
/opt/SUNWspro/lib:/home/perry/mysql/lib
>Description:
Hi,
I followed instructions between the lines of 167 to 171 in
the file "README.configure" and changed PREFIX to
/home/perry/apache:
$ ./configure --prefix=/home/perry/apache \
--enable-module=most \
--enable-shared=max
$ make
$ make install
It was successfully compiled and installed. But I got errors
when I tried to start apache server. The following is the detailes:
/home/perry/apache/bin > apachectl start &
av20010:/home/perry/apache/bin > Syntax error on line 207 of
/home/perry/apache/conf/httpd.conf: Cannot load
/home/perry/apache/libexec/mod_vhost_alias.so into server:
ld.so.1: /home/perry/apache/bin/httpd: fatal: relocation error:
file /home/perry/apache/libexec/mod_vhost_alias.so: symbol
ap_table_setn: referenced symbol not found
.//apachectl start: httpd could not be started
[2] Exit 3 apachectl start
I did not touch the file, "apache/conf/httpd.conf". The
followings are the commands I typed. Could you please
tell me what cauesed the problem ?
1. tar xvf apache_1.3.9.tar
2. cd apache_1.3.9
3. ./configure --prefix=/home/perry/apache \
--enable-module=most \
--enable-shared=max
4. make
5. make install
6. cd ../apache/bin
7. apachectl start &
Then I got the following errors:
av20010:/home/perry/apache/bin > Syntax error on line 207 of
/home/perry/apache/conf/httpd.conf: Cannot load
/home/perry/apache/libexec/mod_vhost_alias.so into server:
ld.so.1: /home/perry/apache/bin/httpd: fatal: relocation error:
file /home/perry/apache/libexec/mod_vhost_alias.so:
symbol ap_table_setn: referenced symbol not found
.//apachectl start: httpd could not be started
[2] Exit 3 apachectl start
Your attention will be highly appreciated.
Work phone: (510)979-1126
Regards,
Perry Luo
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <[EMAIL PROTECTED]> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]