You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Zaven Akopov <ak...@mail.desy.de> on 2003/04/29 17:06:59 UTC

[users@httpd] Problem building Apache 2 on SuSE (fwd)

I would really hate to annoy anyone with repeating a question, but as
there seems no answer to my question in message below, I was wondering if
this is not the correct mailing list to post, (about installation
problems) and if someone could direct me to a better alternative message board?
Thanks,
-Z.

---------- Forwarded message ----------
Date: Mon, 28 Apr 2003 20:53:28 +0200 (MEST)
From: Zaven Akopov <ak...@mail.desy.de>
Reply-To: users@httpd.apache.org
To: users@httpd.apache.org
Subject: [users@httpd] Problem building Apache 2 on SuSE

Hi all,

I'm sure this has been addressed before, as I've been able to find several
message in archive re: this issue, but failed to find any answer messages.
While building Apache 2.0.45, I get an error connected with libaprutil.
While configure runs fine, subsequent make eventually comes to error.

Details:

--System
Linux bogus 2.2.20 #6 SMP Thu Apr 18 15:16:31 MEST 2002 i686 unknown
--Gcc
gcc version 2.95.2 19991024 (release)
--Libtool
ltmain.sh (GNU libtool) 1.3.5 (1.385.2.206 2000/05/27 11:12:27)

--Full libtool line that generates the error, and the error itself:

/bin/sh /root/apache/tst/httpd-2.0.45/srclib/apr/libtool --silent
--mode=compile gcc  -g -O2 -pthread    -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
-DAP_HAVE_DESIGNATED_INITIALIZER
-I/root/apache/tst/httpd-2.0.45/srclib/apr/include
-I/root/apache/tst/httpd-2.0.45/srclib/apr-util/include
-I/root/apache/tst/httpd-2.0.45/srclib/apr-util/xml/expat/lib -I.
-I/root/apache/tst/httpd-2.0.45/os/unix
-I/root/apache/tst/httpd-2.0.45/server/mpm/prefork
-I/root/apache/tst/httpd-2.0.45/modules/http
-I/root/apache/tst/httpd-2.0.45/modules/filters
-I/root/apache/tst/httpd-2.0.45/modules/proxy
-I/root/apache/tst/httpd-2.0.45/include
-I/root/apache/tst/httpd-2.0.45/modules/dav/main -prefer-non-pic -static
-c htpasswd.c && touch htpasswd.lo
/bin/sh /root/apache/tst/httpd-2.0.45/srclib/apr/libtool --silent
--mode=link gcc  -g -O2 -pthread    -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
-DAP_HAVE_DESIGNATED_INITIALIZER
-I/root/apache/tst/httpd-2.0.45/srclib/apr/include
-I/root/apache/tst/httpd-2.0.45/srclib/apr-util/include
-I/root/apache/tst/httpd-2.0.45/srclib/apr-util/xml/expat/lib -I.
-I/root/apache/tst/httpd-2.0.45/os/unix
-I/root/apache/tst/httpd-2.0.45/server/mpm/prefork
-I/root/apache/tst/httpd-2.0.45/modules/http
-I/root/apache/tst/httpd-2.0.45/modules/filters
-I/root/apache/tst/httpd-2.0.45/modules/proxy
-I/root/apache/tst/httpd-2.0.45/include
-I/root/apache/tst/httpd-2.0.45/modules/dav/main -export-dynamic
-L/root/apache/tst/httpd-2.0.45/srclib/apr-util/xml/expat/lib   -o
htpasswd  htpasswd.lo
/root/apache/tst/httpd-2.0.45/srclib/pcre/libpcre.la
/root/apache/tst/httpd-2.0.45/srclib/apr-util/libaprutil-0.la -lgdbm -ldb
/root/apache/tst/httpd-2.0.45/srclib/apr-util/xml/expat/lib/libexpat.la
/root/apache/tst/httpd-2.0.45/srclib/apr/libapr-0.la -lm -lcrypt -lnsl
-lresolv -ldl
/root/apache/tst/httpd-2.0.45/srclib/apr-util/.libs/libaprutil-0.so:
undefined reference to `db_create'
/root/apache/tst/httpd-2.0.45/srclib/apr-util/.libs/libaprutil-0.so:
undefined reference to `db_strerror'
collect2: ld returned 1 exit status
make[2]: *** [htpasswd] Error 1
make[2]: Leaving directory `/root/apache/tst/httpd-2.0.45/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/apache/tst/httpd-2.0.45/support'
make: *** [all-recursive] Error 1

--------------------------------------------------------------------

There seem to be no references to this db_create in the libaprutil-0.so
itself, so it's quite unclear where does this error come from in the
first place.
I would appreciate any advice on how to overcome this problem.

Thanks,

--Z.



---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Problem building Apache 2 on SuSE (fwd)

Posted by Lee Fellows <lf...@4lane.com>.
On Wed, 2003-04-30 at 11:33, Zaven Akopov wrote:
> Yes, it doesn't complain about not finding it. DB is installed (albeit
> quite an old version 1, 10.131 (Sleepycat) 6/2/98)

  Actually, it is complaining.  That is why you get the unresolved
  symbols message.  The question is why?




---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Problem building Apache 2 on SuSE - OVER

Posted by Zaven Akopov <ak...@mail.desy.de>.
I've finally managed to build the apache, so this issue is resolved.
What I had to do, is manually specify location of Berkley DB in linker
line, because apparently configure script wasn't doing it correctly.
Hope this helps someone who might encounter similar problem.
Cheers,
--Z.

On Wed, 30 Apr 2003, Zaven Akopov wrote:

> Yes, it doesn't complain about not finding it. DB is installed (albeit
> quite an old version 1, 10.131 (Sleepycat) 6/2/98)
>
> On 30 Apr 2003, Lee Fellows wrote:
>
> > On Wed, 2003-04-30 at 10:16, Zaven Akopov wrote:
> > > Thanks for your message. I don't really use any specific options for
> > > configure. What's confusing, is that configure checks for db.h include
> > > (where e.g. db_create is defined) and check is ok. But the build procedure
> > > fails.
> >
> >   Is the Berkley DB Library installed?  Can the linker find it?
> >
> >
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Problem building Apache 2 on SuSE (fwd)

Posted by Zaven Akopov <ak...@mail.desy.de>.
Yes, it doesn't complain about not finding it. DB is installed (albeit
quite an old version 1, 10.131 (Sleepycat) 6/2/98)

On 30 Apr 2003, Lee Fellows wrote:

> On Wed, 2003-04-30 at 10:16, Zaven Akopov wrote:
> > Thanks for your message. I don't really use any specific options for
> > configure. What's confusing, is that configure checks for db.h include
> > (where e.g. db_create is defined) and check is ok. But the build procedure
> > fails.
>
>   Is the Berkley DB Library installed?  Can the linker find it?
>
>
> >
>
>
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Problem building Apache 2 on SuSE (fwd)

Posted by Lee Fellows <lf...@4lane.com>.
On Wed, 2003-04-30 at 10:16, Zaven Akopov wrote:
> Thanks for your message. I don't really use any specific options for
> configure. What's confusing, is that configure checks for db.h include
> (where e.g. db_create is defined) and check is ok. But the build procedure
> fails.

  Is the Berkley DB Library installed?  Can the linker find it?


> 



---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Problem building Apache 2 on SuSE (fwd)

Posted by Zaven Akopov <ak...@mail.desy.de>.
Thanks for your message. I don't really use any specific options for
configure. What's confusing, is that configure checks for db.h include
(where e.g. db_create is defined) and check is ok. But the build procedure
fails.

On 29 Apr 2003, Lee Fellows wrote:

> On Tue, 2003-04-29 at 11:06, Zaven Akopov wrote:
> > I would really hate to annoy anyone with repeating a question, but as
> > there seems no answer to my question in message below, I was wondering if
> > this is not the correct mailing list to post, (about installation
> > problems) and if someone could direct me to a better alternative message board?
> > Thanks,
> > -Z.
> >
>   db_create and db_strerror appear to be defined in the Berkley Library.
>   Do you have the runtime and development environments for it installed?
>
>   I successfully built httpd-2.0.45 on a linux system running kernel 2.2.20
>   without the development environment for the Berkley Library, but I do not
>   know the configuration options you chose that may influence the build.
>
>
>
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Problem building Apache 2 on SuSE (fwd)

Posted by Lee Fellows <lf...@4lane.com>.
On Tue, 2003-04-29 at 11:06, Zaven Akopov wrote:
> I would really hate to annoy anyone with repeating a question, but as
> there seems no answer to my question in message below, I was wondering if
> this is not the correct mailing list to post, (about installation
> problems) and if someone could direct me to a better alternative message board?
> Thanks,
> -Z.
> 
  db_create and db_strerror appear to be defined in the Berkley Library.  
  Do you have the runtime and development environments for it installed?

  I successfully built httpd-2.0.45 on a linux system running kernel 2.2.20
  without the development environment for the Berkley Library, but I do not
  know the configuration options you chose that may influence the build.




---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org