Public bug reported: Based on various bug reports, it seems like this problem was fixed upstream in 2.7.*. I'm investigating why it emerged here.
Here is the strace. setsockopt(3, SOL_IPV6, IPV6_V6ONLY, [0], 4) = -1 ENOPROTOOPT (Protocol not available) dup(2) = 4 fcntl(4, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE) fstat(4, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 3), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f377363e000 lseek(4, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) write(4, "soap bind: Protocol not availabl"..., 34soap bind: Protocol not available ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: gsoap 2.8.3-1 ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4 Uname: Linux 3.0.0-12-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.23-0ubuntu3 Architecture: amd64 Date: Mon Oct 17 10:54:53 2011 EcryptfsInUse: Yes InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1) ProcEnviron: LC_CTYPE=en_US.UTF-8 PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gsoap UpgradeStatus: Upgraded to oneiric on 2011-08-31 (47 days ago) ** Affects: gsoap (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug oneiric -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/876713 Title: Soap bind always tries IPV6_V6ONLY on bind and fails with " Protocol not available" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gsoap/+bug/876713/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs