cURL / Mailing Lists / curl-users / Single Mail

curl-users

[ curl-Bugs-701631 ] curl-7.10.3 / php / apache compile issues on solaris 8

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 11 Mar 2003 08:07:57 -0800

Bugs item #701631, was opened at 2003-03-11 08:07
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=701631&group_id=976

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: curl-7.10.3 / php / apache compile issues on solaris 8

Initial Comment:
When compiling curl7-10.3. I get these errors.

checking net/if.h presence... yes
configure: WARNING: net/if.h: present but cannot be
compiled
configure: WARNING: net/if.h: check for missing
prerequisite headers?
configure: WARNING: net/if.h: proceeding with the
preprocessor's result
configure: WARNING: ##
------------------------------------ ##
configure: WARNING: ## Report this to
bug-autoconf_at_gnu.org. ##
configure: WARNING: ##
------------------------------------ ##
checking for net/if.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/if_ether.h usability... no
checking netinet/if_ether.h presence... yes
configure: WARNING: netinet/if_ether.h: present but
cannot be compiled
configure: WARNING: netinet/if_ether.h: check for
missing prerequisite
headers?
configure: WARNING: netinet/if_ether.h: proceeding with the
preprocessor's result
configure: WARNING: ##
------------------------------------ ##
configure: WARNING: ## Report this to
bug-autoconf_at_gnu.org. ##
configure: WARNING: ##
------------------------------------ ##
checking for netinet/if_ether.h... yes

I am trying to run curl with php and I needed to modify
the curl makefile to get php/apache to run

This is the error.

Cannot load
/usr/products/apache_http/libexec/libphp4.so into server:
ld.so.1: /usr/products/apache_http/bin/httpd: fatal:
relocation error:
file /usr/local/lib/libcurl.so.2: symbol __floatdidf:
referenced symbol
not found

These are the changes that I needed to make and it worked.

I have exact problem that driskel found. I am not sure
this is legal
but I solved this by modifying the Makefile in CURL's
lib folder AFTER
running your configure.

add -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2
to LDFLAGS and add
-lgcc to LIBS

make
make install
then proceed with normal php installation. it will
work. good luck.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=701631&group_id=976

-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
Received on 2003-03-11