[openbeos] Re: joe - haiku ports

  • From: Grzegorz Dąbrowski <grzegorz.dabrowski@xxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Tue, 19 Aug 2008 21:10:32 +0200

On Tue, 19 Aug 2008 20:47:10 +0200 CEST
"Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx> wrote:

> Andreas Färber <andreas.faerber@xxxxxx> wrote:
> > No. You are making wrong assumptions there or haven't tried it out  
> > recently. The symlinks only exist for runtime libraries, not
> > during compilation. Without local hacks, linking to libnet will
> > fail. Linking to libnet is not what you want anyway because at
> > runtime it puts the library (or even the system?) into R5
> > compatibility mode!
> > 
> > We've done a number of ports already, so if Scott says Haiku needs
> > - lnetwork trust him. :)
> Exactly! Haiku uses the name of the networking library to be able to 
> provide R5 and BONE compatibility.
> If you compile with Haiku headers, but link against libnet.so, things 
> just won't work.

In my opinion symlink libnetwork.so -> libnet.so
in /boot/develop/lib/x86 will work correctly. Even if binary is linked
using -lnet, it will be linked against libnetwork.so. You may check it
with "readelf -d my_binary" command.

Grzegorz Dąbrowski

Other related posts: