Opened 10 years ago

Closed 10 years ago

#4282 closed bug (invalid)

PackageInstaller Cannot Find libnet.so

Reported by: GeneralMaximus Owned by: axeld
Priority: normal Milestone: R1
Component: - General Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: x86

Description

PackageInstaller cannot find libnet.so. Problem was first seen with the X11 package from Haikuware.

Creating symlinks named 'libnet.so' to /boot/system/lib/libnetwork.so in /boot/system/lib/ and /boot/develop/abi/x86/gcc4/lib/ fixes the problem.

Change History (1)

comment:1 Changed 10 years ago by mmlr

Resolution: invalid
Status: newclosed

I take it this is a GCC4 installation. There is not supposed to by a libnet.so, as this is the formerly used networking library from BeOS R5. The libnet.so to libnetwork.so symlink should only be present under GCC2 Haiku to support loading of R5 apps that were compiled against it. On GCC4 there shouldn't be anything linking to libnet.so as there aren't any R5 apps.

When compiling applications for Haiku (regardless of which GCC) libnet.so is not to be used. Instead always use libnetwork.so, as that one provides the interface our headers define. Therefore there never is a libnet.so link in the developer library paths.

Therefore whatever package you encounter this problem with is either not properly compiled or not compatible with the Haiku version you are using it on (GCC2 vs. GCC4).

Note: See TracTickets for help on using tickets.