Building Apache 1.3.6 or 1.3.9 with DSO Support on Solaris 2.7

Building Apache 1.3.6 or 1.3.9 with DSO Support on Solaris 2.7

Post by sun_user3 » Sat, 29 Jan 2000 04:00:00



I have a workstation with the 64-bit version of Solaris 2.7
on it already. I am trying to build Apache 1.3.6 or 1.3.9
with DSO support. The builds go through, but every time I
try to start the server ('apachectl start'), it core dumps.
Has anyone been successful building Apache with DSO support
on the 64-bit Solaris 2.7 environment?

Here are the configure options I have used:

enable-module=most \ enable-shared=max \
enable-rule=SHARED_CORE

Also, I had built the gcc compiler from scratch on my
machine.

Any suggestions are welcomed.

* Sent from AltaVista http://www.altavista.com Where you can also find related Web Pages, Images, Audios, Videos, News, and Shopping.  Smart is Beautiful

 
 
 

Building Apache 1.3.6 or 1.3.9 with DSO Support on Solaris 2.7

Post by P. Alan » Sun, 30 Jan 2000 04:00:00


I just compiled it with DSO support on an Ultra5 running 7. However I
did have to add an:
export LD_LIBRARY_PATH=/usr/ucblib
in the apachectrl script
I however compiled mine differently
i simply did a ./configure --enable-module=so and it is working fine.

--patrick



Quote:> I have a workstation with the 64-bit version of Solaris 2.7
> on it already. I am trying to build Apache 1.3.6 or 1.3.9
> with DSO support. The builds go through, but every time I
> try to start the server ('apachectl start'), it core dumps.
> Has anyone been successful building Apache with DSO support
> on the 64-bit Solaris 2.7 environment?

> Here are the configure options I have used:

> enable-module=most \ enable-shared=max \
> enable-rule=SHARED_CORE

> Also, I had built the gcc compiler from scratch on my
> machine.

> Any suggestions are welcomed.

> * Sent from AltaVista http://www.altavista.com Where you can also find

related Web Pages, Images, Audios, Videos, News, and Shopping.  Smart is
Beautiful

--
-----------------------------------------------
Patrick Aland
Stetson University

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

Building Apache 1.3.6 or 1.3.9 with DSO Support on Solaris 2.7

Post by Rich Tee » Sun, 30 Jan 2000 04:00:00



> I just compiled it with DSO support on an Ultra5 running 7. However I
> did have to add an:
> export LD_LIBRARY_PATH=/usr/ucblib
> in the apachectrl script

I had to do that to compile Apache 1.3.9; I'd like to know WTF they're
doing using the UCB libraries?!

--
Rich Teer

NT tries to do almost everything UNIX does, but fails - miserably.

The use of Windoze cripples the mind; its use should, therefore, be
regarded as a criminal offence.  (With apologies to Edsger W. Dijkstra)

If it ain't analogue, it ain't music.

Voice: +1 (250) 763-6205
WWW: www.rite-group.com

 
 
 

Building Apache 1.3.6 or 1.3.9 with DSO Support on Solaris 2.7

Post by P. Alan » Sun, 30 Jan 2000 04:00:00


Apparently if /usr/ucb is in your path when you build it will use those
libs first.
(According to Sun) They sugge4st taking it out of your path before you
compile it.
I haven't tried becuase its not a huge deal (its a test server)




> > I just compiled it with DSO support on an Ultra5 running 7. However
I
> > did have to add an:
> > export LD_LIBRARY_PATH=/usr/ucblib
> > in the apachectrl script

> I had to do that to compile Apache 1.3.9; I'd like to know WTF they're
> doing using the UCB libraries?!

> --
> Rich Teer

> NT tries to do almost everything UNIX does, but fails - miserably.

> The use of Windoze cripples the mind; its use should, therefore, be
> regarded as a criminal offence.  (With apologies to Edsger W.
Dijkstra)

> If it ain't analogue, it ain't music.

> Voice: +1 (250) 763-6205
> WWW: www.rite-group.com

--
-----------------------------------------------
Patrick Aland
Stetson University

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

Building Apache 1.3.6 or 1.3.9 with DSO Support on Solaris 2.7

Post by Holger Burd » Tue, 01 Feb 2000 04:00:00



> I have a workstation with the 64-bit version of Solaris 2.7
> on it already. I am trying to build Apache 1.3.6 or 1.3.9
> with DSO support. The builds go through, but every time I
> try to start the server ('apachectl start'), it core dumps.
> Has anyone been successful building Apache with DSO support
> on the 64-bit Solaris 2.7 environment?

> Here are the configure options I have used:

> enable-module=most \ enable-shared=max \
> enable-rule=SHARED_CORE

> Also, I had built the gcc compiler from scratch on my
> machine.

> Any suggestions are welcomed.

> * Sent from AltaVista http://www.altavista.com Where you can also find related Web Pages, Images, Audios, Videos, News, and Shopping.  Smart is Beautiful

hi;

With gcc2-95-2 on Solaris 7 (MU2 - Sparc 64 Bit) with apache 1.3.9 it worked for me. I use it with Tomcat 3.
If i remember correctly there is a sparc build with DSO support somewhere in the Tomcat (Jarkata) stuff.

--
Dipl. Inform. H. Burde


 
 
 

Building Apache 1.3.6 or 1.3.9 with DSO Support on Solaris 2.7

Post by krav.. » Tue, 22 Feb 2000 04:00:00





> > I just compiled it with DSO support on an Ultra5 running 7. However
I
> > did have to add an:
> > export LD_LIBRARY_PATH=/usr/ucblib
> > in the apachectrl script

> I had to do that to compile Apache 1.3.9; I'd like to know WTF they're
> doing using the UCB libraries?!

> --
> Rich Teer

> NT tries to do almost everything UNIX does, but fails - miserably.

> The use of Windoze cripples the mind; its use should, therefore, be
> regarded as a criminal offence.  (With apologies to Edsger W.
Dijkstra)

> If it ain't analogue, it ain't music.

> Voice: +1 (250) 763-6205
> WWW: www.rite-group.com

i also have a problem building libpng.so on solaris 7. make terminates
with:

ld: warning: file libucb.so.1: required by ./libpng.so, not found

but builds anyway. running perl's gd (which requieres libpng) fails
though.... when i put it in LD_LIBRARY_PATH, even running vi fails!!!

static build works anyway, but doesn't help much :-(

help appreciated!

-kris

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

Building Apache 1.3.6 or 1.3.9 with DSO Support on Solaris 2.7

Post by Steve Bellen » Tue, 22 Feb 2000 04:00:00



>i also have a problem building libpng.so on solaris 7. make terminates
>with:

>ld: warning: file libucb.so.1: required by ./libpng.so, not found

>but builds anyway. running perl's gd (which requieres libpng) fails
>though.... when i put it in LD_LIBRARY_PATH, even running vi fails!!!

>static build works anyway, but doesn't help much :-(

>help appreciated!

My libpng.so does not require libucb. Things that think they want libucb
are almost always a mistake. Often this is caused by having /usr/ucb
"too soon" in your path so that which cc returns /usr/ucb/cc. This cause
configure to think that you want all broken libucb stuff. /usr/ucb/cc
is just script to change the compiling environment. It is not a compiler.
--
http://www.math.fsu.edu/~bellenot
bellenot <At/> math.fsu.edu
+1.850.644.7189 (4053fax)
 
 
 

Building Apache 1.3.6 or 1.3.9 with DSO Support on Solaris 2.7

Post by Casper H.S. Dik - Network Security Engine » Tue, 22 Feb 2000 04:00:00


[[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]


>i also have a problem building libpng.so on solaris 7. make terminates
>with:

You should not build library to require the libucb.so variety.

Make sure that /usr/ucb is not in yoru PATH while building it.

Quote:>ld: warning: file libucb.so.1: required by ./libpng.so, not found
>but builds anyway. running perl's gd (which requieres libpng) fails
>though.... when i put it in LD_LIBRARY_PATH, even running vi fails!!!

Yes.  Don't put /usr/ucblib in yoru LD_LIBRARY_PATH.

Don't use /usr/ucb/cc for compiles (usr /opt/SUNWspro/bin/cc)

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

 
 
 

1. Is anybody using DSO with Solaris 2.7?

Hi,

I have a problem with apache 1.3.6 and DSO support on Solaris 2.7

Apache dumps core (segfaults) when starting. httpd -l works. When I
remove the LoadModule / Add Module statements regarding the
modules compiled as DSO, everything works fine.

I do not know, if this is an Apache problem, or if it lies in my system.

Is anybody using DSO Modules with Solaris 2.7 sucessfully????

I have posted a bug report, but did not get any reply so far.
Thus, I am trying to solve the Problem on my own

Thanks for any help

Lukas

--
+-----------------------------------------------------------------------+

                  Sysadmin               WWW: http://www.trash.net/    
+-----------------------------------------------------------------------+
 Check out the stinkiest site on the web! Get a sniff from www.trash.net
   t r a s h . n e t    -   free UNIX shell accounts fo Switzerland

2. Sending UDP Packets from a kernel thread/module

3. Building Apache/1.3.12 Ben-SSL/1.41 on Solaris 7 as a DSO

4. Secure RPC

5. Apache 2.0.16 DSO build fails on Solaris

6. BOOK shop (for MAIL order) ???

7. apache DSO problem (Loaded DSO libexec/mod_mime.so uses plain Apache 1.3 API)

8. Printer on Win98

9. Building mod_snmp as DSO with apache 1.3.26 on Solaris 8

10. Has anyone built metamail 2.7 on Solaris 7 (Successfully)

11. How to build seperate X11R6.4 on Solaris 2.7

12. 180GB ATA drive supported on Ultra5 with Solaris 2.7 ?

13. Add HP Print Support to Solaris 2.7 (Sparc)