You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Henri Delebecque <He...@supelec.fr> on 2001/06/27 15:39:35 UTC

problem launching apache 1.3.19 with apr lib

hello,

I have an Alpha server under Digital Unix 4.0d , running (or trying to):
Apache 1.3.19
apr_20010627114532
Tomcat 4.0 b5

like "Markus Mailinglists <ma...@v-connect.com>", I have
an error : "Cannot load /usr.../mod_webapp.so into server: Unresolved
symbol in /usr.../libapr.so: __eprintf" while I try to launch Apache,
while Tomcat works in standalone mode.

I use also gcc to compile apr.

Any idea ?
Thanks

--
______________________________________________________________
| Henri Delebecque                        delebecq@supelec.fr |
| Webmaster                                                   |
| Supelec                          Tel (33)  01.69.85.14.91   |
| 3 rue Joliot-Curie                                          |
| Plateau de Moulon                 Fax:(33) 01.69.85.12.34   |
| 91190 Gif sur Yvette                                        |
| FRANCE                                                      |
|_____________________________________________________________|

______________________________________________________________
| Henri Delebecque                        delebecq@supelec.fr |
| Webmaster                                                   |
| Supelec                          Tel (33)  01.69.85.14.91   |
| 3 rue Joliot-Curie                                          |
| Plateau de Moulon                 Fax:(33) 01.69.85.12.34   |
| 91190 Gif sur Yvette                                        |
| FRANCE                                                      |
|_____________________________________________________________|



Re: problem launching apache 1.3.19 with apr lib

Posted by Michael Jennings <mi...@southgatesoftware.com>.
Bonjour!

When I was trying to get mod_jk to work I had to pass a parameter to GCC:
gcc -shared -lposix4 -o mod_jk.so *.o

To tell it to link in the correct library.
What compiler are you using? Is it GCC? If so, what version?

I would try commenting out code until you get a .so file
that does nothing. Then start adding code back in until you
get the compile error.

"__eprintf" is probably something that "printf" gets mapped to with a
#define
in one of the header files. Probably a 16-bit char vs. 8 bit char thing.

That's all I can think of right now.
Good luck!

-Mike


----- Original Message -----
From: "Henri Delebecque" <He...@supelec.fr>
To: <de...@apr.apache.org>
Sent: Wednesday, June 27, 2001 6:39 AM
Subject: problem launching apache 1.3.19 with apr lib


> hello,
>
> I have an Alpha server under Digital Unix 4.0d , running (or trying to):
> Apache 1.3.19
> apr_20010627114532
> Tomcat 4.0 b5
>
> like "Markus Mailinglists <ma...@v-connect.com>", I have
> an error : "Cannot load /usr.../mod_webapp.so into server: Unresolved
> symbol in /usr.../libapr.so: __eprintf" while I try to launch Apache,
> while Tomcat works in standalone mode.
>
> I use also gcc to compile apr.
>
> Any idea ?
> Thanks
>
> --
> ______________________________________________________________
> | Henri Delebecque                        delebecq@supelec.fr |
> | Webmaster                                                   |
> | Supelec                          Tel (33)  01.69.85.14.91   |
> | 3 rue Joliot-Curie                                          |
> | Plateau de Moulon                 Fax:(33) 01.69.85.12.34   |
> | 91190 Gif sur Yvette                                        |
> | FRANCE                                                      |
> |_____________________________________________________________|
>
> ______________________________________________________________
> | Henri Delebecque                        delebecq@supelec.fr |
> | Webmaster                                                   |
> | Supelec                          Tel (33)  01.69.85.14.91   |
> | 3 rue Joliot-Curie                                          |
> | Plateau de Moulon                 Fax:(33) 01.69.85.12.34   |
> | 91190 Gif sur Yvette                                        |
> | FRANCE                                                      |
> |_____________________________________________________________|
>
>


Re: problem launching apache 1.3.19 with apr lib

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Henri Delebecque wrote:
> 
> hello,
> 
> I have an Alpha server under Digital Unix 4.0d , running (or trying to):
> Apache 1.3.19
> apr_20010627114532
> Tomcat 4.0 b5
> 
> like "Markus Mailinglists <ma...@v-connect.com>", I have
> an error : "Cannot load /usr.../mod_webapp.so into server: Unresolved
> symbol in /usr.../libapr.so: __eprintf" while I try to launch Apache,
> while Tomcat works in standalone mode.
> 
> I use also gcc to compile apr.
> 
> Any idea ?

Try to add -lc to the LDFLAGS when building the mod_webapp.so
If it does not help, build a static libapr.a and rebuild mod_webapp.so.

> Thanks
> 
> --
> ______________________________________________________________
> | Henri Delebecque                        delebecq@supelec.fr |
> | Webmaster                                                   |
> | Supelec                          Tel (33)  01.69.85.14.91   |
> | 3 rue Joliot-Curie                                          |
> | Plateau de Moulon                 Fax:(33) 01.69.85.12.34   |
> | 91190 Gif sur Yvette                                        |
> | FRANCE                                                      |
> |_____________________________________________________________|
> 
> ______________________________________________________________
> | Henri Delebecque                        delebecq@supelec.fr |
> | Webmaster                                                   |
> | Supelec                          Tel (33)  01.69.85.14.91   |
> | 3 rue Joliot-Curie                                          |
> | Plateau de Moulon                 Fax:(33) 01.69.85.12.34   |
> | 91190 Gif sur Yvette                                        |
> | FRANCE                                                      |
> |_____________________________________________________________|

Re: problem launching apache 1.3.19 with apr lib

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Henri Delebecque wrote:
> 
> hello,
> 
> I have an Alpha server under Digital Unix 4.0d , running (or trying to):
> Apache 1.3.19
> apr_20010627114532
> Tomcat 4.0 b5
> 
> like "Markus Mailinglists <ma...@v-connect.com>", I have
> an error : "Cannot load /usr.../mod_webapp.so into server: Unresolved
> symbol in /usr.../libapr.so: __eprintf" while I try to launch Apache,
> while Tomcat works in standalone mode.
> 
> I use also gcc to compile apr.
> 
> Any idea ?

Try to add -lc to the LDFLAGS when building the mod_webapp.so
If it does not help, build a static libapr.a and rebuild mod_webapp.so.

> Thanks
> 
> --
> ______________________________________________________________
> | Henri Delebecque                        delebecq@supelec.fr |
> | Webmaster                                                   |
> | Supelec                          Tel (33)  01.69.85.14.91   |
> | 3 rue Joliot-Curie                                          |
> | Plateau de Moulon                 Fax:(33) 01.69.85.12.34   |
> | 91190 Gif sur Yvette                                        |
> | FRANCE                                                      |
> |_____________________________________________________________|
> 
> ______________________________________________________________
> | Henri Delebecque                        delebecq@supelec.fr |
> | Webmaster                                                   |
> | Supelec                          Tel (33)  01.69.85.14.91   |
> | 3 rue Joliot-Curie                                          |
> | Plateau de Moulon                 Fax:(33) 01.69.85.12.34   |
> | 91190 Gif sur Yvette                                        |
> | FRANCE                                                      |
> |_____________________________________________________________|