Author |
|
awickware
Joined: 24 Jul 2013 Posts: 2 Location: US, LA
|
Posted: Wed 24 Jul '13 16:51 Post subject: Trouble installing new Apache module mod_proxy_msrpc |
|
|
Hello Everyone,
I will preface this post by saying I am far from an Apache guru. I have however used Apache for some time as a reverse proxy to our MSExchange environment. Unfortunately Apache does not offer support for Outlook anywhere. Someone however developed a module for Apache 2.4 recently that fixes this limitation allowing Apache to act as a reverse proxy for Outlook anywhere. Unfortunately there is virtually no documentation on how to properly install the module and that is where I need help.
The module is located here:
https://github.com/bombadil/mod_proxy_msrpc
I am running Apache 2.4.4 on CentOS 6 64bit and performed the following steps to install the module, all of which appear to have completed successfully:
apxs -c mod_proxy_msrpc.c msrpc_pdu_parser.c msrpc_sync.c
apxs -i -a mod_proxy_msrpc.la
When attempting to start apache I get the following error:
Cannot load /usr/lib64/httpd/modules/mod_proxy_msrpc.so into server: /usr/lib64/httpd/modules/mod_proxy_msrpc.so: undefined symbol: uuid_unparse
I have all uuid and uuid-devel packages installed. Beyond that I am not sure what the problem could be. Any help would be greatly appreciated. I hope I am overlooking something simple that is not unique to this module as the author does not reply to posts.
Thanks in advance. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 25 Jul '13 9:53 Post subject: |
|
|
In the source there is #include <uuid/uuid.h>.
is in your uuid.h the function uuid_unparse() defined?
You may ask the author of that module which lib uuid version he uses. |
|
Back to top |
|
awickware
Joined: 24 Jul 2013 Posts: 2 Location: US, LA
|
Posted: Fri 26 Jul '13 22:54 Post subject: |
|
|
I found the solution. I was not using the correct flag when compiling. In case anyone else uses this module in the future it should be done as follows:
apxs -c -Wl,-luuid mod_proxy_msrpc.c msrpc_pdu_parser.c msrpc_sync.c
followed by
apxs -i -a mod_proxy_msrpc.la
Make sure you have libuuid and libuuid-devel installed.
Thanks for the help! |
|
Back to top |
|
tatankam
Joined: 31 Mar 2010 Posts: 2
|
Posted: Fri 02 Aug '13 12:02 Post subject: Outlook Anywhere support in reverse proxy for windows |
|
|
Is it possible to install the module on apache for windows?
Thanks |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Fri 02 Aug '13 22:50 Post subject: |
|
|
Does not look like it. The requirement for sys/inotify.h in msrpc_sync.c removes any easy portability prospects. |
|
Back to top |
|