Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,457,968
Community Members
 
Community Events
176
Community Groups

Error when trying to install the Crowd-Apache plugin

I am trying to install the Crowd Apache plugin on Ubuntu Server 12.04 but I get the following error while executing ./configure:

checking for apr_pool_pre_cleanup_register in -lapr-1... no
configure: error: apr_pool_pre_cleanup_register was not found in libapr-1

Any ideas on how to solve it?

Another question I have is if it is possible to copy the plugin from one server (where it works) to another one without actually compiling and installing it. Is there maybe a list of files that can be copied like this or is it impossible?

Thank you!

3 answers

1 accepted

0 votes
Answer accepted
The only thing left to do was to install the entire system from scratch and fix the problems with the lib dependencies. Somehow, someone installed the libxml2 lib from 12.10 and downgrading was very risky. Using backups of the tools, it all worked well and took half a day. Now we have a working, clean system.
0 votes

Are you using the supported versions of Apache (2.2) and SVN (1.6) ? The errors you're seeing are about what I would expect if you were trying to use different versions than what we have tested against.

I am using Apache 2.2.22 and SVN 1.7.9. I am sure the SVN version is not the issue since I have the same setup running on another server.

It might be that there are wrong versions of libs installed on this server. I fixed the first issue (did some forced downgrading of some components) but now the problem is with the libxml2:

checking for xmlFree in -lxml2... no
configure: error: libxml2 was not found

root@deathstar:/srv/atlassian/kits/mod_authnz_crowd-2.2.2# apt-get install libxml2
Reading package lists... Done
Building dependency tree
Reading state information... Done
libxml2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

I probably need to somehow fix this package too...

You may want to try installing the libxml2-dev package too.

I tried that (and probably found the issue):

libxml2-dev : Depends: libxml2 (= 2.7.8.dfsg-5.1ubuntu4.9) but 2.8.0+dfsg1-5ubuntu2.2 is installed.

I would need to downgrade libxml2. Some very weird dependencies here :(

Unfortunately maintaining support for older versions of RHEL means we have to build against old versions of libs, but I agree - that's some strangeness there!

0 votes

UPDATE: i tried manually copying the following files from the server where the plugin works:

/usr/lib/apache2/modules/mod_authz_svn_crowd.so

/usr/lib/apache2/modules/mod_authnz_crowd.so

/etc/apache2/mods-available/authz_svn_crowd.load

/etc/apache2/mods-available/authnz_crowd.load

/etc/apache2/mods-available/dav_svn.conf

/etc/subversion/dav_svn.authz

I then loaded the 2 new modules (mod_authnz_crowd and mod_authz_svn_crowd).

Upon service apache2 restart I get the following error:

apache2: Syntax error on line 239 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/authz_svn_crowd.load: Cannot load /usr/lib/apache2/modules/mod_authz_svn_crowd.so into server: /usr/lib/apache2/modules/mod_authz_svn_crowd.so: undefined symbol: dav_svn_get_repos_path

No idea what I am missing...

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events