LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-19-2008, 08:08 AM   #1
sea-bass
LQ Newbie
 
Registered: Dec 2006
Posts: 14

Rep: Reputation: 0
Problem loading in third party Apache Module


Hi Folks

Having an issue with loading in a 3rd party apache module...

see below

extract of httpd.conf

# Example:
# LoadModule foo_module modules/mod_foo.so
#
LoadModule bmproxy_module modules/mod_bmproxy.so

---

Now when I try to start apache

[root@squonk ~]# /usr/local/apache2/bin/apachectl start
Syntax error on line 233 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/mod_bmproxy.so into server: /usr/local/apache2/modules/mod_bmproxy.so: undefined symbol: __gxx_personality_v0
[root@squonk ~]#

So what have i done to fix it...

According to some articles this is fixed by adding EXTRA_LDFLAGS="lstdc++" seems to help, however not in my case... :-(

Also having the libstdc++ shared library helps in the firstplace helps..

[root@squonk ~]# rpm -qa libstdc++
libstdc++-3.4.6-8
[root@squonk ~]#

My Compiler options are as follows

[root@squonk lib]# gcc -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-8)


So there is obviously something that I am missing... question is what is it?

Your help always appreciated..

Sea-Bass
 
Old 02-20-2008, 10:11 AM   #2
sea-bass
LQ Newbie
 
Registered: Dec 2006
Posts: 14

Original Poster
Rep: Reputation: 0
Fixed It !!:-)
--------------
After getting the 3rd Party company to let me know that it had to be recompiled and sending me the source files...

I did the following

rpmbuild -ba --target=i686 files.spec

And hey presto a newly baked module..

Thanks for being there in spirit on this on...

--Sea-Bass
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem loading a module alaios Linux - General 5 06-09-2005 08:01 AM
Verifying apache module loading/functioning merana Linux - Software 0 02-23-2005 12:23 PM
Trouble with loading MySQL module on Apache vladimir-dk Linux - Software 3 06-25-2004 10:13 PM
Loading Apache module question ?? wellsaj Linux - Software 2 11-05-2003 03:56 AM
Finding Module Dependencies...(Still loading...still loading..still loading..HANG!!!) Aeudian Linux - General 3 08-11-2003 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration