Marco Vezzoli
marco.vezzoli at st.com
Fri Sep 5 08:11:35 EST 2003
> > > Searching google for httpd fatal relocation error symbol not found libpq > solaris yields some interesting results, so this seems like a more > general problem. > e.g. http://www.geocrawler.com/mail/msg.php3?msg_id=7733831&list=10 > and an interesting thread on other similar solaris problems > http://msgs.securepoint.com/cgi-bin/get/apache0203/222/1.html > > David Thank you David for the pointers. The second one suggests that careful linking options would prevent the 'main' symbol to be generated > I have seen a similar failure on AIX recently. It seems that > php (and tcl, which was my case) use a somewhat different way to load > the shared libs than PostgreSQL does. > > While PostgreSQL does not care, they need a shared lib that was linked > with a switch to specify no entry (like -bnoentry on AIX). > Maybe that has to do with our RTLD_LAZY ? and using nm I've found that all mod_*.so libraries do not have any 'main' symbol but libpq.so does have one marked 'U'. I'll look for more info about linker options. Marco -- Marco Vezzoli tel. +39 039 603 6852 STMicroelectronics fax. +39 039 603 5055
|