View Issue Details

IDProjectCategoryView StatusLast Update
0003752libmicrohttpdbuild systempublic2021-09-02 15:54
Reportertomasheran Assigned ToChristian Grothoff Due Date
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
OSSolarisOS Version11 
Product Version0.9.40 
Target Version0.9.41Fixed in Version0.9.41 
Summary0003752: The socket API lives in libnsl and libsocket on Solaris 11
DescriptionOn Solaris 11, it's necessary to link with libnsl and libsocket in order to acccess the socket API functions.
Additional InformationI added the following to configure.ac and that seems to have solved the issue for me.

diff -r d118e0f483a4 -r 966ce1625c15 configure.ac
--- a/configure.ac Thu Feb 05 14:49:09 2015 +0100
+++ b/configure.ac Thu Apr 09 16:52:00 2015 +0200
@@ -135,6 +135,8 @@
 *solaris*)
      AC_DEFINE_UNQUOTED(SOLARIS,1,[This is a Solaris system])
      AC_DEFINE_UNQUOTED(_REENTRANT,1,[Need with solaris or errno doesnt work])
+ AC_SEARCH_LIBS(gethostbyname, nsl)
+ AC_SEARCH_LIBS(socket, socket)
      ;;
 *arm-linux*)
      AC_DEFINE_UNQUOTED(LINUX,1,[This is a Linux kernel])
TagsNo tags attached.

Activities

Christian Grothoff

2015-04-14 22:49

manager   ~0009085

Fixed as suggested in SVN 35536.

Christian Grothoff

2021-09-02 15:54

manager   ~0018199

Fix committed to master branch.

Issue History

Date ModifiedUsernameFieldChange
2015-04-10 11:42tomasheranNew Issue
2015-04-14 22:49Christian GrothoffNote Added: 0009085
2015-04-14 22:49Christian GrothoffStatusnew => resolved
2015-04-14 22:49Christian GrothoffFixed in Version => 0.9.41
2015-04-14 22:49Christian GrothoffResolutionopen => fixed
2015-04-14 22:49Christian GrothoffAssigned To => Christian Grothoff
2015-04-14 22:49Christian GrothoffProduct Version => 0.9.40
2015-04-14 22:49Christian GrothoffTarget Version => 0.9.41
2015-04-29 22:13Christian GrothoffStatusresolved => closed
2021-09-02 15:54Christian Grothoff
2021-09-02 15:54Christian GrothoffNote Added: 0018199